-
Notifications
You must be signed in to change notification settings - Fork 918
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
[a11y] Newsletter placeholder vs. required (in non-default locales) #14950
Comments
@janbrasna thanks for filing this issue. I had hoped that we could get the a11y scanner up and running first before using the results to file issues. Ideally I'd like to get some good failures to test reporting against, as opposed to fixing them too early. It is totally fine and expected that the test runs will fail initially. i appreciate your enthusiasm to fix stuff :) |
@alexgibson I've only filed this from exploratory testing axe introspection before I forget;) I do not intend to look into fixing these anytime soon as they need a broader consensus first — and the nav probably needs adding all the roles upstream in Protocol anyways. (It's more of a note that various locales might trigger more issues than the /en* itself when various controls get different content, so just raising this to demonstrate;)…) |
Thanks @janbrasna - yep we'll be including more than just en |
Description
Once more locales are added to automated a11y testing, some new issues may surface, stemming from different controls being selected or appearing in localised order et al.
Newsletter form on homepage (above the footer):
When used in German, the first option for preferred language ("Deutsch") gets selected, and being the first value in a required field, this is triggered:
Also some more trivial warnings for implicit roles:
(Others were moved out of this issue:)
Navigation (EDIT: This is basically what upstream in #14770 resolved…)
This is the loudest error in automated testing right now, being marked as "critical":The div doesn't have the implicit role for being expandable, so this may need either adding a button role of sorts, or marking up menu, menubar, menuitem roles and using
aria-haspopup
for the dropdowns perhaps.CTD sections (EDIT: Being fixed in #14965)
Also in German version, the CTD sections & macros seem to have more closing tags than necessary, making the content hierarchy crossed with unclosed elements:The text was updated successfully, but these errors were encountered: