Skip to content

Conversation

@heybran
Copy link

@heybran heybran commented Sep 29, 2025

Closes #180

Fixed few minor accessibility issues reported in issue #180, no issues (issues from testing tools point of view only, didn't cover real world scenarios) after current fixes:
image

1. Why component: replace h4 to h3

Added some Tailwind classes to handle the styles based on this note from the main repo.

Styling is currently coming from a mix of standard css in src/styles/global.css and tailwind; but we are moving to be fully tailwind driven in the future with the exception of some gradients.

Since we're migrating to Tailwind classes to handle style, the updated styles are a bit slightly different than old styles, please let me know if this is ok.

Before

image

After

image

2. Posts component: replace h4 to h3

.text-lg changed text font size to 22.5px from previous 20px.

Before

image

After

image

3. Global styles: remove some unneeded CSS after above changes

4. Base layout: add landmark element

5. Footer: add an accessible label for email input

- Why: replace h4 to h3 with some extra Tailwind classes
- Footer: add an accessible label for email input
- Global styles: remove some unneeded CSS
- Base layout: add <main> landmark element
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility: Semantic markup improvement

1 participant