WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Handling del text

for

From: Cameron Cundiff
Date: Nov 4, 2013 8:59AM


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
> > > >