Skip to main content
Participant
February 13, 2025
Question

Accessiblity Checker ignores RowSpan/ColSpan attributes in Attribute Classes

  • February 13, 2025
  • 1 reply
  • 198 views

Tags may have attributes set for them by Attribute Classes instead of directly set per object.

The Accessibility Checker ignores RowSpan/ColSpan attributes set in Attribute Classes for data cells of a table (<TD> elements).

In particular, tables will fail "regularity" even though correct RowSpan/ColSpan can be verified as existing in the Attribute Class of the data cell.

 

For example, the attached table fails even though the cell with c has ColSpan correctly set to 2 in an Attribute Class. When the Attributes from the Attribute Class are duplicated to the Attribute Object (even though this should be unnecessary), then it passes.

 

1 reply

Souvik Sadhu
Community Manager
Community Manager
March 11, 2025

Hi @,

 

Hope you are doing well. Sorry for the trouble, and the delayed response.

 

In case you are still looking for a solution, here are my suggestions on it:

 

  • Direct Attribute Assignment:

    • Assign RowSpan and ColSpan attributes directly to each <TD> element instead of using Attribute Classes. This ensures that the Accessibility Checker recognizes and processes these attributes correctly.
  • Manual Verification:

    • If restructuring the table isn't feasible, manually verify the table's accessibility. While this doesn't resolve the checker's oversight, it ensures that the table functions correctly for assistive technologies.

 

Hope this helps.


Regards,
Souvik.