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

vpat 40/41: style editor aria fixes #4022

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

abaevbog
Copy link
Contributor

@abaevbog abaevbog commented Apr 18, 2024

  • linked all labels to their respective inputs so they are announced by screen readers
  • added aria-labels for the actual editor and preview iframes
  • locator type and locator input are assigned aria-labels
  • added visible labels to citation style and language menus, since vpat 40 specifically asks for visible labels

Vpat 40 says "These elements should have descriptive, persistent, visible labels and descriptive names that include their labels." referring to all the inputs of the style editor. Per #4039, the locator type and locator input are left as is but there are aria-labels set on them so that they are announced by the screen reader.

I did add visible labels for the "Language" and the "Citation Style" because I feel like it doesn't hurt here?

@abaevbog abaevbog added this to the VPAT milestone Apr 18, 2024
@abaevbog abaevbog force-pushed the vpat_40 branch 2 times, most recently from 4e92d0b to 77636a3 Compare April 23, 2024 19:59
- linked all labels to their respective inputs so they are announced by
screen readers
- added aria-labels for the actual editor and preview iframes
- locator type and locator input are assigned aria-labels
- added visible labels to citation style and language menus,
since vpat 40 specifically asks for visible labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant