WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Should NVDA announce "table" when it encounters CSS display:table ?

for

From: glen walker
Date: Apr 21, 2021 1:01PM


Thanks, Jonathan. I was about to mention that. This isn't a page with
"traditional" layout tables that use <table> elements for pure layout
purposes. This is a page that is using CSS display:table. There are no
table semantics in the html and there are no ARIA roles specified on the
page. I was surprised NVDA+Chrome announced it as a table.

I know the opposite is typically surfaced. If I have a real <table>
element and I apply display:block or display:inline or almost anything that
changes it from the default display:table that the screen reader no longer
thinks the table is a table anymore.


On Wed, Apr 21, 2021 at 10:20 AM Jonathan Cohn < <EMAIL REMOVED> > wrote:

> Is there some confusion here going on between <table> HTML designs that
> are only used for layout and CSS tables?
>
> The original posting specifically mentioned table in the style, not the
> HTML.
> Apparently, NVDA recognizes the CSS table, but does not further process
> it.
> Traditionally, layout tables are HTML elements s <table>, <tr>, <th?,
> <tbody> that have no <th? elements, or are quite small.
>
> No wonder, screen reader users with no HTML understanding get confused,
> most don't care as long as it reads sensibly.
> Jonathan
>
> > > > >