Skip to content

Document accessibility priority numbers better #756

Closed

Description

@jidanni

On HTML Tidy for Linux version 5.2.0 (latest here on Debian) man page we read

   Diagnostics options:

       accessibility-check

              Type:    enum
              Default: 0 (Tidy Classic)
              Example: 0 (Tidy Classic), 1 (Priority 1 Checks), 2 (Priority 2 Checks), 3 (Priority 3 Checks)

              This option specifies what level of accessibility checking, if any, that Tidy should perform.

              Level 0 (Tidy Classic) is equivalent to Tidy Classic's accessibility checking.

              For more information on Tidy's accessibility checking, visit Tidy's Accessibility Page at http://www.html-
              tidy.org/accessibility/.

OK, but we may be offline. And that page is rather big. Therefore the
man page should also mention:

  • What priority is "higher" 1 or 3?
  • Does picking e.g., 3 include 1 and 2?

Activity

  1. ler762 commented on Sep 26, 2018

    @ler762
    Contributor

    https://cygwin.com/acronyms/#PTC

    The good news is that the next release has stalled, so if you come up with a patch it might make it into the next release.

    The bad news is that the next release has stalled. See #741

  2. geoffmcl commented on Nov 1, 2018

    @geoffmcl
    Contributor

    @jidanni our documentation can always be improved... always ;=))

    I guess the specific answer is 3 is higher than 1... with the default 0, being minimal accessibility checks, and I guess 3 would include 1, 2, etc... at least that is the way it looks in reading some of the code...

    See access.h... with -

     * The accessibility checks to perform depending on user's desire:
     *   1. priority 1
     *   2. priority 1 & 2
     *   3. priority 1, 2, & 3

    And see TY_(AccessibilityChecks)( doc ), called at the end of ParseDocument...

    Maybe someone who understands this better could test and advise more...

    I do not think there have been accessibility code since release 5.2, Apr 7, 2016, in later releases, to current next branch, 5.7.16. It remain unchanged... Back in 2015, I did lament in issue #388 that this code needed some TLC...

    Look forward to doc improvements, patches, or PR... thanks...

  3. added a commit that references this issue on Jul 9, 2021
  4. balthisar commented on Jul 9, 2021

    @balthisar
    Member

    Fixed via 3dab4b3. Closing.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions