-
Notifications
You must be signed in to change notification settings - Fork 257
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
Changes Needed: ARIA14 Using aria-label to provide an invisible label where a visible label cannot be used #1986
Comments
The test procedure should begin with: |
I would say (as discussed on mailing list previously) that this point is irrelevant. Are you suggesting that auditors should fail content if this is not the case? If so I'd strongly disagree on having this point included. |
I don't think we can assume there is a visible (text) label. E.g. a content editable area might be marked with an icon of a pencil. Other scenarios are buttons which may just use an icon. To account for that, we could use:
The top of the technique doc includes the applicability, which states "Technologies that support Accessible Rich Internet Applications (WAI-ARIA)." I don't think we should start adding that to procedures, it would be inconsistent and repetitive. |
No, I am not suggesting that "auditors should fail content if this is not the case". Thanks, |
i'll save myself repetition and point to this #1987 (comment) saying that barriers get introduced through misuse is one thing. the solution is not to patronisingly try to limit when a technique is valid/applicable. by all means, add a note that suggests something along the lines of "however, if there's a native way, consider using that instead", but not seemingly limiting the applicability of this technique artificially to social-engineer change here. |
Refer: H65: Using the title attribute to identify form controls when the label element cannot be used |
Two changes listed: one for Description and one for Test procedure.
Description states:
"In other situations, elements can be given the attribute aria-label to provide an accessible name when the native HTML labeling element is not supported".
Suggested addition:
In such a situation ensure the value of aria-label begins with or only includes the text that functions as the visible label for the control.
Suggested Tests Procedure:
Situation A. Where text that functions as the element's visible label is present
Expected Results
Both 1 and 2 are true
Situation B:
The purpose of the element is indicated solely by its context and visual appearance without a text identifier
Expected Results
Item 1 is true
Thanks,
Sailesh
The text was updated successfully, but these errors were encountered: