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
Match visible text with aria-labels #1906
Match visible text with aria-labels #1906
Conversation
d29eb49
to
c99fab2
Compare
/compile amend |
When the visible button label does not match the aria-label button activation via voice input cannot be guaranteed. Resolves : #1675 Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
c99fab2
to
faa2dd0
Compare
LGTM but if aria labels and button text should match, then we recommending something wrong here (NcButton)
|
Not sure who to ping, but @nextcloud/designers or @JuliaKirschenheuter, would it make sense to enforce in |
Nice pointer. While I do some research, I would ping @michaelnissenbaum if he can provide us with more context. |
So it looks like it should match: https://www.w3.org/WAI/WCAG21/Techniques/general/G211.html But I also understand that you might want to give context, as |
I believe in this case the right thing to do would be to make the original buttons more descriptive themselves. |
When the visible button label does not match the aria-label button activation via voice input cannot be guaranteed.
Resolves : http://local.nextcloud.test/index.php/apps/photos/