-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
mat-autocomplete autoActiveFirstOption sets aria-activedescendant when the autocomplete panel is closed #14453
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 10, 2018
…ctiveFirstOption is enabled Fixes the autocomplete trigger setting its `aria-activedescendant` attribute while the panel is closed and the options aren't in the DOM, if the `autoActiveFirstOption` is enabled. Fixes angular#14453.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 12, 2018
…ctiveFirstOption is enabled Fixes the autocomplete trigger setting its `aria-activedescendant` attribute while the panel is closed and the options aren't in the DOM, if the `autoActiveFirstOption` is enabled. Fixes angular#14453.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 13, 2018
…ctiveFirstOption is enabled Fixes the autocomplete trigger setting its `aria-activedescendant` attribute while the panel is closed and the options aren't in the DOM, if the `autoActiveFirstOption` is enabled. Fixes angular#14453.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Dec 14, 2018
…ctiveFirstOption is enabled Fixes the autocomplete trigger setting its `aria-activedescendant` attribute while the panel is closed and the options aren't in the DOM, if the `autoActiveFirstOption` is enabled. Fixes angular#14453.
josephperrott
pushed a commit
to josephperrott/components
that referenced
this issue
Jan 14, 2019
…ctiveFirstOption is enabled (angular#14455) Fixes the autocomplete trigger setting its `aria-activedescendant` attribute while the panel is closed and the options aren't in the DOM, if the `autoActiveFirstOption` is enabled. Fixes angular#14453.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
What is the expected behavior?
When the autocomplete panel is closed and autocomplete is autoActiveFirstOption enabled, the input should not have an aria-activedescendent attribute associated to it.
What is the current behavior?
With autoActiveFirstOption attribute added to mat-autocomplete, even when the panel is closed the autocomplete input has aria-activedescendant="[first-mat-option]"
What are the steps to reproduce?
https://stackblitz.com/edit/angular-nsonvp
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/material": "7.1.1"
"@angular/core": "7.1.2"
"@angular/cdk": "7.1.1"
"@angular/cli": "~7.0.2"
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: