wai-tutorials icon indicating copy to clipboard operation
wai-tutorials copied to clipboard

Use of Scope for Simple Data Tables Is Unnecessary

Open stevefaulkner opened this issue 5 years ago • 4 comments

I have done some testing and found that contrary to the advice in the table tutorials the use of scope on simple data tables is unecessary.

  • https://www.24a11y.com/2018/tables-and-beers/
  • https://codepen.io/stevef/post/tables-tequila-and-beer

Suggest the WAI advice should be revisited as we should not be asking developers to add code that has no effect.

stevefaulkner avatar Dec 29 '18 09:12 stevefaulkner

Hi @stevefaulkner,

indeed the tutorial does not advice to use scope attribute with tables that have only one header (for rows or columns). https://www.w3.org/WAI/tutorials/tables/one-header/

I think the issues mostly stemmed from really old JAWS (2012?) if I recall correctly – I guess we can take your research and edit our tutorial. Let me know if the following course of action would be OK for you:

I think we agree that the tables on this page should have row/col set: https://www.w3.org/WAI/tutorials/tables/two-headers/

Please let me know if you agree, it looks like I have a small opportunity of getting this worked in over the next few weeks. 🤞

yatil avatar Sep 09 '19 10:09 yatil

@stevefaulkner Would you mind to acknowledge if the changes outlined above address your concerns?

yatil avatar Jan 13 '20 14:01 yatil

Hi @yatil, looking at Steve's codepen the fix would also include Two headers, Example 1, by removing the 2nd paragraph and all references to scope in the code snippet.

The Chrome bug referenced in the codepen was fixed in Chrome 74 (April 2019).

mrazzari avatar Jun 04 '21 19:06 mrazzari

Thanks, @mrazzari. Unfortunately, I’m not involved with this project anymore. I’m sure the current maintainer will take care of this eventually.

yatil avatar Jun 05 '21 13:06 yatil