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

[A11y] aria-describer is not reactive #15785

Open
phyrephox opened this issue Apr 11, 2019 · 0 comments
Open

[A11y] aria-describer is not reactive #15785

phyrephox opened this issue Apr 11, 2019 · 0 comments
Labels
area: cdk/a11y P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@phyrephox
Copy link

phyrephox commented Apr 11, 2019

What is the expected behavior?

When the aria-label changes it should determine whether to continue describing use aria-describedby or let aria-label do it.

What is the current behavior?

It only checks on construction time whether something should be labeled.

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

https://stackblitz.com/edit/angular-k4aktm

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular material 8.0.0

Is there anything else we should know?

Related to #15048 and it's fix. However, when the aria-label and/or tooltip text come from the component typescript rather than hardcoded in the template, both an aria-label and an aria-describedby are set in the final html, which means screenreaders will read this twice.

@andrewseguin andrewseguin added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: cdk/a11y P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

2 participants