You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current aria practices suggest that we should be using aria-labelledby to associate the accessible name of the dialog with the title of the dialog. This is currently raised in axe-core as a serious best practice issue via aria-dialog-name.
All of our dialogs currently have a heading, so the needed changes to satisfy this are:
Auto-generate an id with react-id-generator and set the id on the heading element
Associate the role="dialog" container with an aria-label with the id reference of the heading
The text was updated successfully, but these errors were encountered:
Current aria practices suggest that we should be using
aria-labelledby
to associate the accessible name of the dialog with the title of the dialog. This is currently raised inaxe-core
as a serious best practice issue viaaria-dialog-name
.All of our dialogs currently have a heading, so the needed changes to satisfy this are:
react-id-generator
and set the id on the heading elementrole="dialog"
container with anaria-label
with the id reference of the headingThe text was updated successfully, but these errors were encountered: