Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve accessible name for links on home page #455

Merged
merged 5 commits into from
Oct 14, 2023

Conversation

milofultz
Copy link
Contributor

@milofultz milofultz commented Oct 13, 2023

This PR:

Ensures that links on the home page have accessible names.

1. Adds aria-labels to links that surround images without text content
2. Removes unnecessary aria-labels where text content already exists
3. Improved text content on link where it was unclear

The files this PR effects:

Components

  • src/components/Footer/RenderCallToActionSection.jsx
  • src/components/Footer/RenderCompanyInfoSection.jsx
  • src/components/NavBar/NavbarDesktop.jsx
  • src/components/NavBar/NavbarLoggedOut.jsx
  • src/components/NavBar/NavbarMobile.jsx
  • src/pages/Home.jsx

Tests

  • test/pages/snapshots/Home.test.jsx.snap

Screenshots (if applicable):

Only visual difference is the text for the proposal button.

Screen Shot 2023-10-13 at 4 21 57 PM Screen Shot 2023-10-13 at 4 22 15 PM

Additional Context (optional):

Most of these fixes were found using this extension.

Issues needing discussion/feedback (optional):

1. Want to make sure the "Make a proposal" text is desired, as that is more of a content choice then a technical one.

Copy link
Contributor

@leekahung leekahung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here looks reasonable. Can approve this.

@milofultz milofultz added the enhancement Enhancement of existing features label Oct 13, 2023
@milofultz milofultz merged commit ac5bdfd into Development Oct 14, 2023
3 checks passed
@milofultz milofultz deleted the mfultz/link-names branch October 14, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants