WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Angular tables and accessibility

for

From: Steve Green
Date: Mar 9, 2022 1:49AM


Yes, you can use role="presentation" on the table elements as long as the contents linearise correctly.

Steve Green
Managing Director
Test Partners Ltd


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Lars Ballieu Christensen
Sent: 09 March 2022 08:42
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: [WebAIM] Angular tables and accessibility

Hi List,



A client of ours is using angular data tables (ngx-datatable elements) rather than ordinary html table elements; furthermore, they seem to be use these for layout purposes rather than for data. Obviously, this makes it difficult for screen readers to interpret.



I'm aware that the best solution would be not to use data tables of whatever variety for layout. However, does anyone know whether ARIA roles would have an effect on table elements other than those in plain HTML, i.e., if role=”presentation” could be used and have an effect on  <ngx-datatable> elements?



Venligst/Kind regards



Lars

----

Lars Ballieu Christensen

RÃ¥dgiver/Adviser, Ph.D., M.Sc., Sensus ApS

Specialister i tilgængelighed/Accessibility Consultants

Tel: +45 48 22 10 03 – Mobil: +45 40 32 68 23 - Skype: Ballieu

Mail: <EMAIL REMOVED> – Web: https://www.sensus.dk



Vi arbejder for et tilgængeligt og rummeligt informationssamfund

Working for an accessible and inclusive information society