WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Role= presentation for layout table

for

From: glen walker
Date: Feb 22, 2019 11:26AM


I answered this on the IAAP forum but will copy the answer here for those
that aren't IAAP members. The IAAP posting included a screenshot of the
code.

Not sure if this would affect JAWS/IE but you have a <span> as a direct
descendant of your <tbody>, which is invalid html. A <tbody> can only have
<tr> elements. See
https://www.w3.org/TR/html53/tabular-data.html#the-tbody-element

(Note that pasting your code directly into the email might get more replies
than a screenshot of your code since there's no way to parse text from an
image (1.4.5 Images of Text))

Also, your <tr> elements have a class specified. If that class happens to
have a display property set to "table-row", then it might affect things
too. And it could be that the <td> elements (which aren't shown in the
screenshot) might have "display:table-cell".

On Fri, Feb 22, 2019 at 11:16 AM Radhika Takyar < <EMAIL REMOVED> >
wrote:

> Have a layout which has role= presentation. But when using JAWS2019 with
> IE11. It is still being read as table with rows and columns.
>
> But noticed that it is working fine when using NVDA with Firefox or JAWS17
> with IE11.
>
> Can anyone tell if that is a know issue with JAWS2019. Also, what robust
> solution can be implemented which works for all the screen reader users.
>
> Regards,
> Radhika
>
> > > > >