-
Notifications
You must be signed in to change notification settings - Fork 266
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
update Techniques (issue 2482) #2490
Conversation
1. removed links to HTML 4.01 spec 2. removed references to HTML 4 and XHTML and the `acronym` element. 3. fixed horizontal scrolling on code samples. 4. fixed defining an abbreviation so the code now defines an abbreviation. 5. fixed links to resources.
1. removed references to HTML4 and XHTML. 2. changed references to HTML5 to HTML. 2. updated Resources link to HTML spec.
1. removed references to XHTML. 2. fixed “imagemap” typo. 3. updated `area` elements in code samples per current HTML spec. 4. updated Resources links to current HTML spec.
1. remove references to XHTML. 2. add doctype and lang attribute to code sample. 3. update Resources links to link to the current HTML spec. 4. changed reference to `frameset` to `frames`.
1. remove references to XHTML. 2. update links to updated URLs and non-obsolete documents 3. removed Examples 1 and 6 as they were the same as Example 3 (descriptions on buttons). 4. Removed Example 5 as it was the same as Example 3 but specifically for an XHTML form. 4. added autocomplete attribute to Example 2.
1. remove references to XHTML. 2. remove Examples 4 (XHTML specific) and 5 (same basic example as Example 1). 3. Updated Example 1 to put the * next to the label, which is what the description said it did, but it didn’t. 4. Updated Example 1 to put the (required) next to the label, which is what the description said it did, but it didn’t. 5. Added text to the empty `h3` elements in multiple examples. 6. added autocomplete attributes to Examples 1 and 2. 7. Updated Example 2 to put the (required) next to the label, which is what the description said it did, but it didn’t. 8. Example 3: 1. fixed the code so that the title says “after” to match the CSS. 2. added required aria-checked attributes to radio elements 3. fixed horizontal scrolling. 4. changed `:after` to `::after`
1. remove code example comments referencing JavaScript 1.4, Netscape 6, IE5 (!) 2. fixed horizontal scrolling. 3. marked up code as `code`. 4. removed reference to XHTML.
1. updated code example: changed doctype to html 2. marked up code as `code`.
the `summary` attribute is obsolete in html, so this technique isn’t relevant.
Technique: 1. removed references to HTML 4.01. 2. updated HTML links to current spec. 3. after checking support, removed content about browsers not currently supporting the `q` element, and related example code and how to fix the element in Internet Explorer. 4. fixed horizontal scrolling of code example. 5. added headings to code example as per other pages. Working example: 1. changed the `doctype` to HTML. 2. added `lang` attribute. 3. updated charset 4. edited headings to match H49.
@fstrr - I'm just trying to work out if you made a lot of changes in the |
@alastc looks like line breaks have been inserted where before things were munged into a single line |
1. fixed typos. 2. improved code examples: 1. fixed horizonal scrolling. 2. removed reference to a `generic` nav element. 3. added seperate lines of links instead of one list item with the text “a list of links here” inside it.
1. remove references to `start`, `contents`, and `index` types as they’re no longer in the HTML spec. 2. update Resources links to link to current HTML spec and remove links to stale content.
1. removed references to framesets. 2 updated code example to remove fallback content for browsers that don’t support iframes. 3. Updated code example: 1. changed doctype to HTML 2. added lang attribute to html element 3. removed fallback content 4. update Resources links to remove HTML 4.01 and stale content. 5. update TOC page to remove reference to frames.
1. remove references to HTML 5.2—leave unversioned. 2. mark up code as code. 3. better highlight code in code example. 4 update TOC.
1. Remove references to HTML 5.2—leave unversioned. 2. Fix badly implemented resource links. 3. Update example to better highlight incorrect code. 4. Mark up code as code.
@alastc The only changes in |
1. updated Resources links to remove 404 and add HTML spec. 2. Example 1: 1. Added content to the empty `h3` element. 2. Added `autocomplete` attribute to email `input`. 3. Removed `<br>` elements. 3. Removed example 2 as it was the same as Example 1 apart from a different value for the `action` attribute. 4. Marked up abbreviations as abbreviations. 5. Marked up code as code.
1. removed mention of HTML5. 2. updated code example: 1. swapped `em` for `i` as that’s a more-suitable element. 2. removed `p` elements from `dd` 3. Updated resources links to replace HTML 4.01 links to current HTML spec.
1. Updated Example 2: 1. replaced `div`s with structural semantic elements 2. replaced `class=leftnav` with for `class=“side-bar” for the right-hand section. 2. Updated Resources links: 1. replaced HTML 4.01 with HTML 2. Found more up-to-date tutorials that don’t reference the old HTML font size attributes. 3. remove reference to XHTML.
Delete H35 and documents that reference it.
update H97 for HTML and clarity
update H97 for HTML and clarity
update H64 for HTML and accuracy
update H98
Update F107 for HTML, typos, clarity
Delete H4 (creating a logical tab order through links, form controls, and objects)It’s not referenced from any Understanding documents and is bad practice for manipulating focus order. This also removes links from other WCAG documents. update H32 for HTML, code example, links
update H40 for code
update H42 for HTML, code, resources
delete H35 and references to it -
|
Note to self: Without longdesc, notify the group of this change before merging. |
1. Remove references to XHTML. 2. Mark up code as `code`. 3. Update resource document name that had changed.
1. Removed references to XHTML. 2. Added all current input types from the HTML living spec. 3. Added links to existing references to criteria 4. Updated Example 3 to include a `fieldset` and `legend` and removed the note saying it should be considered. 5. Updated Resources to add links to HTML living spec. 6. Marked up code as `code`.
Update H34 for code, resources
Updated H44 for content, code, examples, resources
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, what a labor of love this must have been!
I have a doubt about H98 and F107 as the WCAG 2.1 Spec normatively refers to the HTML 5.2 autocomplete list. Perhaps those shouldn't change? |
@awkawk Thanks for catching that. I've replaced the references to HTML 5.2 |
H35 technique was removed with #2490
Closes: #3619 Technique H35 has been removed with #2490, but link was still available in 1.1.1 Non-text Content Understanding doc. Removed H35 link from Understanding doc. Co-authored-by: Mike Gower <[email protected]>
A lot of HTML4 and XHTML descriptions were removed by #2490, but there are still some parts left. This PR attempts to clean up those pieces. ## Modify link from HTML4 to HTML F40 and F44 ## Remove mentions of XHTML in techniques ARIA6, SCR22, C27, F46, F58, F69, F70, F77, F80, G108, G110, G175 and G204 ## Remove mentions of XHTML in understanding - keyboard - pronunciation (potentially related #2652) --- However, the following pages are excluded: [Understanding SC 3.1.1](https://www.w3.org/WAI/WCAG22/Understanding/language-of-page): ```html <a href="https://www.w3.org/International/techniques/authoring-html#gslang">Internationalization Best Practices: Specifying Language in XHTML & HTML Content</a> ``` This link text is probably inappropriate, but I didn't know what to change it to, so I left it as it is. [Understanding Conformance](https://www.w3.org/WAI/WCAG22/Understanding/conformance): In the Examples of Conformance Claims section, there are several mentions of XHTML 1.0. I didn't change them in this PR, but I think it needs to be rewritten separately. --------- Co-authored-by: Patrick H. Lauke <[email protected]>
update H28 for HTML and presentation fixes
acronym
element.update H2 for HTML
update H24 for HTML, typos, code fixes
area
elements in code samples per current HTML spec.update H25 for HTML and typos
frameset
toframes
.update ARIA 1 for HTML and clarity
autocomplete
attribute to Example 2.update ARIA 2 for HTML and clarity
h3
elements in multiple examples.autocomplete
attributes to Examples 1 and 2.aria-checked
attributes to radio elements:after
to::after
update for SCR2 HTML and code samples
code
.update SCR16 for HTML
doctype
to htmlcode
.update H37 and H39 update H37
Preview | Diff