Skip to content

Consider not including technique-based rules in the recommended set #38

Description

@MelSumner

I think if the validator can't determine code structure, it shouldn't throw an error with the documentation support as a WCAG technique.

For example, rule wcag/h63 throws an error if a table element's th elements don't have a scope attribute. However, upon reviewing the code, it's a correctly marked up table element, with no need for a scope attribute.

  1. Technique reference page: https://www.w3.org/WAI/WCAG22/Techniques/html/H63
  2. The technique explicitly states that the scope attribute is not required if it's a simple table w/headers.
  3. There are other techniques listed on that page for additional ways to have valid markup

I recognize that this might be an upstream issue, but extra markup where none is required can create extra issues. Here's the WCAG guidance on techniques: https://www.w3.org/WAI/WCAG22/Techniques/about

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions