E-mail List Archives
Re: Hiding text, but still use it for
From: Birkir R. Gunnarsson
Date: Oct 12, 2018 11:35AM
- Next message: Marissa Sapega: "Re: visual scrolling with screen readers"
- Previous message: Emily Ogle: "Re: Where Does The Idea Screen Reader Users Use Tab for Main Navigation Come From?"
- Next message in Thread: JP Jamous: "Re: Hiding text, but still use it for"
- Previous message in Thread: JP Jamous: "Re: Hiding text, but still use it for"
- View all messages in this Thread
How about instead of aria-labelledby use aria-describedby
aria-describedby is anounced by screen readers when users focus a
button with the tab key but generally not when they down arrow in
browse mode.
On 10/12/18, JP Jamous < <EMAIL REMOVED> > wrote:
> I did use aria-hidden="true" Jared, but JAWS 2018 in IE11 broke that. Once
> I
> landed on the button, it stated "Submit button". Yet, in Firefox using JAWS
> and NVDA, they both honored it. That was why I was wondering if there is a
> different way of handling it.
>
>
>
> --------------------
> JP Jamous
> Senior Digital Accessibility Engineer
> E-Mail Me |Join My LinkedIn Network
> --------------------
>
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> Jared
> Smith
> Sent: Friday, October 12, 2018 11:02 AM
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: Re: [WebAIM] Hiding text, but still use it for
>
> JP Jamous wrote:
>
>> How can I prevent both JAWS and NVDA from speaking the alert message
>> as the user is down-arrowing?
>
> If it is visible in the page, you could give it aria-hidden="true".
>
> If it is visibly hidden, then give it display:none with CSS (rather than
> off-screen or clip or something else).
>
> In both of these cases the screen reader should still read the message in
> conjunction with the button, but should not read it when encountered within
> the page (whether visible or not).
>
> Jared
> > > http://webaim.org/discussion/archives
> >
> > > > >
--
Work hard. Have fun. Make history.
- Next message: Marissa Sapega: "Re: visual scrolling with screen readers"
- Previous message: Emily Ogle: "Re: Where Does The Idea Screen Reader Users Use Tab for Main Navigation Come From?"
- Next message in Thread: JP Jamous: "Re: Hiding text, but still use it for"
- Previous message in Thread: JP Jamous: "Re: Hiding text, but still use it for"
- View all messages in this Thread