E-mail List Archives
Re: HTML Dialog and name
From: Peter Weil
Date: Dec 21, 2023 12:23PM
- Next message: Birkir R. Gunnarsson: "Re: HTML Dialog and name"
- Previous message: Laurence Lewis: "HTML Dialog and name"
- Next message in Thread: Birkir R. Gunnarsson: "Re: HTML Dialog and name"
- Previous message in Thread: Laurence Lewis: "HTML Dialog and name"
- View all messages in this Thread
I think the answer to this one is âyesâ.
The Dialog element has an implicit role of âdialogâ, and as you note, according to the ARIA 1.2 specs, an accessible name is required for this role.
I usually use aria-labelledby and reference the highest-level heading within the dialog (e.g., h2).
- Peter
> On Dec 21, 2023, at 1:02 PM, Laurence Lewis < <EMAIL REMOVED> > wrote:
>
> 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>?
--
Peter Weil
Web Developer
University Marketing Web Services
Office of Strategic Communications
University of WisconsinâMadison
608-220-3089
- Next message: Birkir R. Gunnarsson: "Re: HTML Dialog and name"
- Previous message: Laurence Lewis: "HTML Dialog and name"
- Next message in Thread: Birkir R. Gunnarsson: "Re: HTML Dialog and name"
- Previous message in Thread: Laurence Lewis: "HTML Dialog and name"
- View all messages in this Thread