This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngAria module and $ariaProvider configurations are global #11174
Open
Description
Currently, when I inject ngAria dependency for one view in the application, it defaults to injecting it across the application and adds all the defaults like tabindex to the HTML semantics.
When I configure ngAria further using $ariaProvider to NOT add the tabindex (for test purpose), the configuration gets applied at other places as well where the dependency on ngAria was not injected. Making ngAria or $ariaProvider more private scoped may provide more flexibility to a developer to provide accessibility support.