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 label by using the property name #2224

Conversation

dagfs
Copy link
Contributor

@dagfs dagfs commented Dec 6, 2022

What/Why/How?

Fixes #2223

Summary: Labels and accessible labes should correspond. The use of expand property instead of expand {name} breaks this WCAG rule.

Reference

Testing

Testing the issue this PR resolves requires using SiteImprove or the SiteImprove Chrome extension

AND it requires using another example than the PetStore as it for some reason crashes the extension.

I have tried outlining the issue i the issue and have tested that this change resolves the issue locally.

Screenshots (optional)

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

I'm not able to get this projects test running fully locally. Problems with update-notifier even after trying to bind it and change node versions. As I understood it there are some problems with this module currently?

If you have any tips for how to resolve this problem I can test it again 😄

image

@dagfs dagfs requested a review from a team as a code owner December 6, 2022 08:51
@dagfs dagfs requested review from anastasiia-developer and removed request for a team December 6, 2022 08:51
@RomanHotsiy RomanHotsiy merged commit 12be1bc into Redocly:main Dec 29, 2022
ckoegel pushed a commit to Bandwidth/redoc that referenced this pull request Jun 6, 2023
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.

WCAG 2.5.3 - Visible label and accessible name do not match
2 participants