- From: Léonie Watson <tink@tink.uk>
- Date: Fri, 19 Oct 2018 11:47:35 +0100
- To: Alexander Surkov <surkov.alexander@gmail.com>, Aaron Leventhal <aleventhal@google.com>
- Cc: ARIA Working Group <public-aria@w3.org>
On 19/10/2018 07:17, Alexander Surkov wrote: > If the span element is accessible, then aria-label will define its > accessible name. So I'm not exactly sure what you mean whether > aria-label can replace the inner text. What developer expectations are? I'm not sure this is the case? In practice it seems that aria-label (and aria-labelledby) do not tend to do this for text level elements and/or elements without explicit roles [1]. Léonie [1] https://www.w3.org/TR/using-aria/#label-support > > On Fri, Oct 19, 2018 at 2:15 AM Aaron Leventhal <aleventhal@google.com > <mailto:aleventhal@google.com>> wrote: > > This comes up here and there. Developers sometimes think a <span> > with an aria-label will replace the inner text with the aria-label. > > It would be good to clarify how this is exposed and what the screen > reader experience should be. > > Aaron > -- @LeonieWatson @tink@toot.cafe Carpe diem
Received on Friday, 19 October 2018 10:48:17 UTC