[a11y] Qtable compatibility with RGAA (French WCAG) #16115
Replies: 3 comments 5 replies
-
|
I've just proposed a fix to these problems: Is a PR not related to an issue accepted? |
Beta Was this translation helpful? Give feedback.
-
|
After a few explanations from our expert, it seems that using I'm going to propose some code. |
Beta Was this translation helpful? Give feedback.
-
|
WCAG references : |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello !
We're working on a French public portal.
An external agency has carried out an accessibility audit. Its similar to #16109 .
But all improvements are welcome, which is why I'm putting here those that concern QTable only, and which could be handled independently of other corrections.
These corrections are easier to make directly in QTable than in a project, and improve Quasar's overall accessibility.
Table
The
<table>tag must define a title. There are 4 possibilities:<caption>tag.titleattributearia-labelattributearia-labelledbyattribute.At present, we don't know how to add an attribute to the
<table>tag itself.The
aria-labelattribute is perhaps the simplest solution. And thecaptionmay be more complex as it needs to be hidden from the standard user.Th
The
<th>tags must have ascope=colattribute.Currently, we have to rewrite all headers with the
header-slot.Best regards,
Beta Was this translation helpful? Give feedback.
All reactions