E-mail List Archives
Re: JAWS unable to read aria-label for heading
From: Benjamin Hawkes-Lewis
Date: Mar 9, 2013 6:53AM
- Next message: Mobins Thomas: "Html Lang attribute"
- Previous message: Rakesh: "Re: JAWS unable to read aria-label for heading"
- Next message in Thread: None
- Previous message in Thread: Rakesh: "Re: JAWS unable to read aria-label for heading"
- View all messages in this Thread
On 7 March 2013 06:12, Emad Aziz Suria < <EMAIL REMOVED> > wrote:
> Here's the scenario; I need the screen reader to read something else for
> the heading than what is actually being displayed.
I second Joe’s query: why?
> "My Heading" is displayed but screen reader reads "This is my heading"
>
> <div>
> <div aria-hidden="true">My Heading</div>
> <div aria-label="This is my Heading" role="heading" aria-level="1"
> tabindex="0"></div>
> </div>
>
> The above code achieves the required behavior on VoiceOver, but I can't get
> JAWS to do the same. Any Idea how to make it work in JAWS?
For what it’s worth, according to ARIA 1.0’s accessible name
computation algorithm, “This is my Heading” is indeed the name of that
heading.
--
Benjamin Hawkes-Lewis
- Next message: Mobins Thomas: "Html Lang attribute"
- Previous message: Rakesh: "Re: JAWS unable to read aria-label for heading"
- Next message in Thread: None
- Previous message in Thread: Rakesh: "Re: JAWS unable to read aria-label for heading"
- View all messages in this Thread