Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-title and update H63 (Using the scope attribute to associate header cells and data cells in data tables) #2514

Closed
fstrr opened this issue Jun 6, 2022 · 0 comments · Fixed by #2515

Comments

@fstrr
Copy link
Contributor

fstrr commented Jun 6, 2022

In working on #2482, I discovered that H63 (Using the scope attribute to associate header cells and data cells in data tables) needs updating. It:

  1. references XHTML.
  2. references HTML 4.01.
  3. references using the scope attribute on td elements, which isn't part of the HTML Living Standard anymore.
  4. has some questionable content on using the scope attribute where authors didn't use a th element because they don't like the way it looks or have used CSS to make the text bold instead.
  5. could do with some non-male names in the code example.
  6. has broken links and typos.
  7. has a procedure that feels overly "wide". It specifies "for each data table: check that all th elements have a scope attribute". Earlier in the page, it states that "for simple tables that have the headers in the first row or column then it is sufficient to simply use the TH elements without scope", which is more suitable.

In editing this content, especially removing the scope attribute on the td element, it felt like slightly re-titling the document would be good. I'm proposing to change it from this:

"Using the scope attribute to associate header cells and data cells in data tables"

to this:

"Using the scope attribute to associate header cells with data cells in data tables" might be clearer.

Coincidentally, this is also the first line in the Description:

"The objective of this technique is to associate header cells with data cells in complex tables using the scope attribute."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants