WebAIM - Web Accessibility In Mind

E-mail List Archives

HTML Dialog and name

for

From: Laurence Lewis
Date: Dec 21, 2023 12:02PM


Hi,


In my workplace we are looking at using the HTML <dialog> in place of the
ARIA role dialog and all its attributes.


I have one broad based question and one targeted.


1. Are there any accessibility concerns for using <dialog> anyone has come
across or is aware of?


2. There is no mention, that I have found in the HTML Living Standard for
the Dialog element, that it needs a name. Role dialog must have an
accessible name according to the ARIA 1.2 Specification. Should ARIA
aria-labelledby or aria-label be used to name <dialog>?


If it is best practice to name the <dialog> element should this be proposed
as a change in the standard?


Thanks


Laurence Lewis

Accessibility Senior Specialist - Telstra, Brisbane Australia