E-mail List Archives
Re: Hiding text, but still use it for
From: Jared Smith
Date: Oct 12, 2018 10:02AM
- Next message: Brandon Keith Biggs: "Re: Where Does The Idea Screen Reader Users Use Tab for Main Navigation Come From?"
- Previous message: Jared Smith: "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: "Hiding text, but still use it for"
- View all messages in this Thread
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
- Next message: Brandon Keith Biggs: "Re: Where Does The Idea Screen Reader Users Use Tab for Main Navigation Come From?"
- Previous message: Jared Smith: "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: "Hiding text, but still use it for"
- View all messages in this Thread