fix(ui): correct Tailwind classes and add missing alt text - #657
Open
ritikahirwar8168-dev wants to merge 1 commit into
Open
fix(ui): correct Tailwind classes and add missing alt text#657ritikahirwar8168-dev wants to merge 1 commit into
ritikahirwar8168-dev wants to merge 1 commit into
Conversation
Fixes invalid Tailwind utility names in the community meetings grid, remove a stray class typo in the features carousel, and add an alt attribute to the Podman Desktop logo for screen reader accessibility. Fixes: containers#643 Fixes: containers#645 Fixes: containers#646 Signed-off-by: Ritik Ahirwar <ritikahirwar8168-dev@users.noreply.github.com> Signed-off-by: Ritik Ahirwar <ritikahirwar8168@gmail.com>
ritikahirwar8168-dev
force-pushed
the
fix/ui-tailwind-and-accessibility
branch
from
August 8, 2026 18:45
e22686a to
024b969
Compare
Author
|
@ashley-cui , could you please review.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes three small but user-facing UI issues on the Podman website: invalid Tailwind utility classes in the community meetings grid, a stray typo in the features carousel tab styling, and a missing
altattribute on the Podman Desktop logo. Together, these changes improve layout alignment on the community page and accessibility on the features page.Fixes #643
Fixes #645
Fixes #646
Also closes #638 and #641 (duplicate reports of the same issues).
Problem
1. Invalid Tailwind classes in community meetings grid (#645 / #641)
In
CommunityMeetingsCardGrid, the layout used CSS property-style class names instead of valid Tailwind utilities:Tailwind does not ship
justify-content-centeroralign-items-center. The browser ignores those classes, so the meetings card grid and its child containers were not centered as intended.Affected page:
/community2. Stray
0class in features carousel (#643 / #638)In
FeaturesCarousel, the inactive tab state included a leading0in the class string:That
0is treated as a literal class name and adds invalid markup. It does not break rendering in most browsers, but it is a clear typo and should be removed.Affected page:
/features3. Missing
alton Podman Desktop logo (#646)On the features page, the Podman Desktop logo image had no
altattribute:Without
alt, screen readers fall back to reading the filename, which hurts accessibility and fails WCAG 2.1 image text-alternative guidance. Other images in the codebase already follow thealtpattern (e.g.ThumbCard,PageHeader,ColoringBookSection).Affected page:
/featuresSolution
1. Use correct Tailwind centering utilities
File changed:
src/components/layout/CommunityMeetingsCardGrid/index.tsx2. Remove stray
0from inactive tab classesFile changed:
src/components/content/FeaturesCarousel/index.tsx3. Add descriptive
alttext to Podman Desktop logoFile changed:
src/pages/features.tsxFiles Changed
Test Plan
Run
yarn buildlocally and confirm the site builds without errors.Visit
/communityand verify the community meetings card grid is centered correctly on desktop and mobile.Visit
/featuresand confirm the features carousel tabs still render correctly for active and inactive states.Inspect the Podman Desktop logo on
/featuresand confirmalt="Podman Desktop logo"is present.Optionally test with a screen reader or browser accessibility tools to confirm the logo is announced correctly.
Toggle dark mode on both pages and confirm layout/styling are unchanged aside from the intended centering fix.
Screenshots / Recordings
N/A — these are minor CSS/class and accessibility fixes with no visual redesign intended. The main visible change should be improved centering on the community meetings grid.
Checklist
Certify you wrote the patch or otherwise have the right to pass it on as an open-source patch by signing all commits (
git commit -s).Referenced issues using
Fixes: #643,Fixes: #645, andFixes: #646in the commit message.PR description, commit message, and GitHub comments are human-written, per LLM Policy.
Additional Notes
This is a focused, low-risk UI fix with no dependency changes, no new components, and no changes to page data or routing. It aligns with existing project conventions for image
altattributes and Tailwind utility usage elsewhere in the codebase.