WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Handling del text

for

From: Steve Faulkner
Date: Nov 4, 2013 9:04AM


@Alastair,

aria-hidden would be the one, role=presentation will only remove role from
del and as del role is not exposed anyway...

@Cameron,

see this post from 2008
http://blog.paciellogroup.com/2008/02/screen-readers-lack-emphasis/

the situation is much the same today, semantics of most text level elements
not exposed via accessibility APIs


--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>;


On 4 November 2013 15:59, Cameron Cundiff < <EMAIL REMOVED> > wrote:

> Alistair, how about an <em> or <strong> tag around the new price to elicit
> a tone change in the screen reader?
>
>
> On Mon, Nov 4, 2013 at 9:10 AM, Alastair Campbell < <EMAIL REMOVED> >
> wrote:
>
> > Hi,
> >
> > I've got that classic situation of showing the previous and current
> price.
> >
> > Visually the first price is crossed out, and the current price is bold.
> >
> > The developer did the obvious (and correct?) thing of:
> > <del>£50</del> <strong>£30</strong>
> >
> > That's fine for most people, but it seems that generally screen readers
> > won't give any indicator that the second price is the most relevant.
> >
> > I'm left with recommending either hidden text, or possibly using
> > role="presentation" on the <del>.
> >
> > Is that still the current state of play? I had a look through the aria
> > roles list but nothing jumped out as suitable for this scenario, even if
> it
> > were reliable to use.
> >
> > Cheers,
> >
> > -Alastair
> > > > > > > >
> > > >