Re: Looking for clarity on Layout tables

Hi,
    Is this a legacy code base from the pre-2005 era with tables used for
layout?
 Or are there other reasons like for using table headers for repeating the
header when "Printing" page?(hack)

Table like page layouts can now be achieved with CSS GRID and/or CSS
FLEXBOX.
And browser support should not be an issue with Internet explorer support
not being a common requirement these days.
https://css-tricks.com/snippets/css/complete-guide-grid

Thank you,
Ashraf

On Fri, Feb 19, 2021 at 7:04 PM Marjanska, Martyna (SSC/SPC) <
martyna.marjanska@canada.ca> wrote:

> Hello everyone,
>
> I have two questions about the Layout tables.
>
> Do we MUST use the WAI-Aria role=presentation on a Layout Table?
>
> Is the WAI-Aria mandatory or only advisory, best practice or else?
>
>
>
> I am looking for a concrete direction, a reference in WCAG, W3C, that says
> clearly that layout tables must use role=presentation.
>
> I found many references but none says role=presentation is required.
>
>
>
> References:
>
> 2.9 Use of Role=presentation or Role=none
> <https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_presentation_role>
>
> Digital A11y WAI-ARIA: Role=Presentation
> <https://www.digitala11y.com/presentation-role/>
>
> Working Group Decision on ISSUE-130: table-layout
> <https://lists.w3.org/Archives/Public/public-html/2011Mar/0245.html>
>
> Layout table with role=presentation: Screen reader compatibility
> <https://www.powermapper.com/tests/screen-readers/tables/table-role-presentation-layout-table/>
>
> 2017 Presentation Role Examples
> <https://www.w3.org/TR/2017/WD-wai-aria-practices-1.1-20170628/examples/presentation/PresentationRoleExamples.html>
>
> WAI-ARIA: Role=Presentation
> <https://www.digitala11y.com/presentation-role/>
>
>
>
> WCAG has clear fails:
>
> F92: Failure of Success Criterion 1.3.1 due to the use of role
> presentation on content which conveys semantic information
> <https://www.w3.org/TR/WCAG20-TECHS/F92.html#F92-tests>
>
>
>
> Thank you,
>
> Martyna Marjanska
>

Received on Saturday, 20 February 2021 13:47:34 UTC