w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.11k stars 251 forks source link

Old techniques to remove #2482

Closed fstrr closed 8 months ago

fstrr commented 2 years ago

There are many links to the HTML 4.01 spec, references to elements that aren't part of the current spec, etc.

fstrr commented 2 years ago

The summary attribute for tables is obsolete, and is marked as such in H73, so I'm proposing to delete that document.

Does anyone have any opinions on doing that?

fstrr commented 2 years ago

The longdesc attribute is obsolete, and was never well supported in the first place, so I'm proposing to delete H45.

Does anyone have any opinions on doing that?

fstrr commented 2 years ago

SCR21: Using functions of the Document Object Model (DOM) to add content to a page seems to be less about the the title of the document and more about certain scripting functionality that the author thinks should be avoided. For example:

"…and the innerHTML property is not part of the DOM specification and thus should be avoided."

and the Procedure, which consists of one item:

"Examine the source code and check that the new content is not created using document.write(), innerHTML, outerHTML, innerText or outerText."

As such:

  1. Do we still this document?
  2. If we do, then updating it to bring it up to date and re-writing the Procedure seems to be the way to go.
alastc commented 2 years ago

Noting that the WAI tutorial references H73, so we should create an issue for the tutorials, and remove Approach 4. https://www.w3.org/WAI/tutorials/tables/caption-summary/#using-the-summary-attribute

alastc commented 2 years ago
fstrr commented 2 years ago

@alastc here's an initial commit of updates.

JAWS-test commented 2 years ago

longdesc is still valid: https://www.w3.org/TR/html-longdesc/

Discussion about this: https://github.com/w3c/wcag/issues/950

fstrr commented 2 years ago

According to this Memorandum Of Understanding from 28th May, 2019:

"HTML and DOM shall be developed principally in the WHATWG … W3C intends to give input to and endorse WHATWG Review Drafts to become W3C Recommendations, through the W3C Process from Candidate Recommendation (CR) through Proposed Recommendation (PR) to Recommendation (REC). Our Design Goal is that the W3C CR, PR, and REC, and the WHATWG Review Draft are the same document."

As the longdesc attribute document you link to is from 2015 and since from 2019, the W3C is only endorsing WHATWG Review Drafts to become W3C Recommendations, I'd argue that longdesc is obsolete.

I ran an updated test, and there is still some support for the attribute. That said, as the attribute, which has never been well supported, is now obsolete, H45 should be removed.

fstrr commented 2 years ago

H35 (Providing text alternatives on applet elements) can be deleted as the applet element is obsolete.

fstrr commented 2 years ago

H60 (Using the link element to link to a glossary) can be deleted as "glossary" isn't a link type in the HTML living standard.

fstrr commented 2 years ago

H46 (Using noembed with embed) can be deleted as noembed is obsolete.

fstrr commented 2 years ago

H70 (Using frame elements to group blocks of repeated material) can be deleted as frameset is obsolete in the HTML Living Standard.

fstrr commented 2 years ago

I think H75 (Ensuring that Web pages are well-formed) can be deleted. It's applicable to "Any XML-based markup languages" rather than web pages.

fstrr commented 2 years ago

PR opened to remove reference to H73 (summary attribute) Update: content removed.

fstrr commented 8 months ago

Closing this issue as some techniques have been removed and I've moved others to new, separate issues.