From a36cf92b0829b2bce8c17533b481b09c2c8b961d Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Thu, 4 Nov 2021 14:07:37 +0100 Subject: [PATCH 1/3] Remove assumption on Language --- _rules/audio-as-media-alternative-afb423.md | 2 +- _rules/audio-transcript-2eb176.md | 2 +- .../document-has-instrument-to-non-repeated-content-ye5d6e.md | 1 - _rules/form-field-label-descriptive-cc0f0a.md | 1 - _rules/heading-descriptive-b49b2e.md | 3 +-- _rules/html-page-title-descriptive-c4a8a4.md | 2 +- _rules/iframe-identical-name-equivalent-purpose-4b1c6c.md | 3 +-- _rules/image-accessible-name-descriptive-qt1vmo.md | 2 +- _rules/image-filename-as-accessible-name-9eb3f6.md | 2 +- _rules/link-alone-descriptive-aizyf1.md | 1 - _rules/link-in-context-descriptive-5effbb.md | 2 -- _rules/links-identical-name-equivalent-purpose-b20e66.md | 1 - ...tical-names-and-context-serve-equivalent-purpose-fd3a94.md | 1 - _rules/non-visual-reference-alternative-9bd38c.md | 4 +--- _rules/video-as-media-alternative-ab4d13.md | 3 +-- _rules/video-audio-description-1ea59c.md | 3 +-- _rules/video-description-track-f196ce.md | 3 +-- _rules/video-only-as-media-alternative-fd26cf.md | 3 +-- _rules/video-only-audio-track-d7ba54.md | 3 +-- _rules/video-only-description-track-ac7dc6.md | 3 +-- _rules/video-only-transcript-ee13b5.md | 3 +-- _rules/video-transcript-1a02b0.md | 3 +-- 22 files changed, 16 insertions(+), 35 deletions(-) diff --git a/_rules/audio-as-media-alternative-afb423.md b/_rules/audio-as-media-alternative-afb423.md index f580e5baea3..94fe5b7311a 100755 --- a/_rules/audio-as-media-alternative-afb423.md +++ b/_rules/audio-as-media-alternative-afb423.md @@ -39,7 +39,7 @@ Each target element is labeled as an audio alternative for text on the page. Thi ## Assumptions -This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +_There are currently no assumptions_ ## Accessibility Support diff --git a/_rules/audio-transcript-2eb176.md b/_rules/audio-transcript-2eb176.md index 97482999d1c..21fe4a6bf0a 100755 --- a/_rules/audio-transcript-2eb176.md +++ b/_rules/audio-transcript-2eb176.md @@ -35,7 +35,7 @@ The auditory information of each test target is available through a text transcr ## Assumptions -This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +_There are currently no assumptions_ ## Accessibility Support diff --git a/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md b/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md index 88c24d35db5..fddd3ed9dcd 100755 --- a/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md +++ b/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md @@ -45,7 +45,6 @@ For each test target, there exists at least one [instrument][] inside it to move ## Assumptions - This rule assumes that there is at least one [block of repeated content][] before the non-repeated content, and therefore [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123] will require a link to the non-repeated content in order to skip this [block of repeated content][]. If there is no [block of repeated content][] before the non-repeated content, then it is possible to fail this rule but still pass [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123]. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. ## Accessibility Support diff --git a/_rules/form-field-label-descriptive-cc0f0a.md b/_rules/form-field-label-descriptive-cc0f0a.md index 538d065893c..8ed620168b1 100755 --- a/_rules/form-field-label-descriptive-cc0f0a.md +++ b/_rules/form-field-label-descriptive-cc0f0a.md @@ -70,7 +70,6 @@ Each test target, together with its [visual context][], describes the purpose of - This rule assumes that [labels][label] are intended for sighted users, and that hiding a [visible][] [label][] from assistive technologies, is a failure of [Success Criterion 4.1.2: Name, Role and Value][sc412], but not of [Success Criterion 2.4.6: Headings and Labels][sc246]. - This rule assumes that the [programmatic labels][programmatic label] of an element are also part of its [visual context][]. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. ## Accessibility Support diff --git a/_rules/heading-descriptive-b49b2e.md b/_rules/heading-descriptive-b49b2e.md index 81fbea540be..471da25f35a 100755 --- a/_rules/heading-descriptive-b49b2e.md +++ b/_rules/heading-descriptive-b49b2e.md @@ -47,8 +47,7 @@ For each target element at least one of the following is true: ## Assumptions -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. -- This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in a order that greatly differ from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. +This rule assumes that the [flat tree][] order is close to the reading order, as elements are rendered on the page. Due to positioning, it is possible to render a document in a order that greatly differ from the tree order, in which case the content which is visually associated with a heading might not be the content following it in tree order and this rule might fail while [Success Criterion 2.4.6 Headings and Label][sc246] is still satisfied. ## Accessibility Support diff --git a/_rules/html-page-title-descriptive-c4a8a4.md b/_rules/html-page-title-descriptive-c4a8a4.md index b4fcd3a5042..a8386c5881e 100755 --- a/_rules/html-page-title-descriptive-c4a8a4.md +++ b/_rules/html-page-title-descriptive-c4a8a4.md @@ -48,7 +48,7 @@ The target element describes the topic or purpose of the overall content of the ## Assumptions -This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +_There are currently no assumptions_ ## Accessibility Support diff --git a/_rules/iframe-identical-name-equivalent-purpose-4b1c6c.md b/_rules/iframe-identical-name-equivalent-purpose-4b1c6c.md index 27ad54a3c12..1e1acb52d53 100755 --- a/_rules/iframe-identical-name-equivalent-purpose-4b1c6c.md +++ b/_rules/iframe-identical-name-equivalent-purpose-4b1c6c.md @@ -37,8 +37,7 @@ The `iframe` elements in each set of target elements embed the [same resource][] ## Assumptions -- This rule assumes that, within the context of the test subject, the description provided by the [accessible name][] of an `iframe` can only accurately describe one resource (notably, homonyms alone are not used as `iframe` names). Thus, if two or more `iframe` elements have the same [accessible name][] but embed different resources, at least one of them does not describe its purpose. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that, within the context of the test subject, the description provided by the [accessible name][] of an `iframe` can only accurately describe one resource (notably, homonyms alone are not used as `iframe` names). Thus, if two or more `iframe` elements have the same [accessible name][] but embed different resources, at least one of them does not describe its purpose. ## Accessibility Support diff --git a/_rules/image-accessible-name-descriptive-qt1vmo.md b/_rules/image-accessible-name-descriptive-qt1vmo.md index 6335e5320ba..246ebadf024 100755 --- a/_rules/image-accessible-name-descriptive-qt1vmo.md +++ b/_rules/image-accessible-name-descriptive-qt1vmo.md @@ -54,7 +54,7 @@ Each test target has an [accessible name][] that serves an equivalent purpose to ## Assumptions -This rule assumes that the language of the [accessible name][] of each test target can be correctly determined (either programmatically or by analyzing the content). +_There are currently no assumptions_ ## Accessibility Support diff --git a/_rules/image-filename-as-accessible-name-9eb3f6.md b/_rules/image-filename-as-accessible-name-9eb3f6.md index 3e1198e351e..2a7e60a15ae 100755 --- a/_rules/image-filename-as-accessible-name-9eb3f6.md +++ b/_rules/image-filename-as-accessible-name-9eb3f6.md @@ -58,7 +58,7 @@ Each test target has an [accessible name][] that serves an equivalent purpose to ## Assumptions -This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content). +_There are currently no assumptions_ ## Accessibility Support diff --git a/_rules/link-alone-descriptive-aizyf1.md b/_rules/link-alone-descriptive-aizyf1.md index 4322e35bffc..6a8ad595cc7 100755 --- a/_rules/link-alone-descriptive-aizyf1.md +++ b/_rules/link-alone-descriptive-aizyf1.md @@ -37,7 +37,6 @@ Each test target has an [accessible name][] which describes its purpose. - This rule assumes that the purpose of the link is not ambiguous to users in general when seen in context on the web page, which is the exception mentioned in [Success Criterion 2.4.9 Link Purpose (Link Only)][sc249]. If the link is ambiguous to users in general, users of assistive technologies are not at a disadvantage when viewing the link out of context. - This rule assumes that all [semantic][semantic role] `link` elements are used as links. An element marked up as a link, but that does not behave as a link would not fail [Success Criterion 2.4.9 Link Purpose (Link Only)][sc249]. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. ## Accessibility Support diff --git a/_rules/link-in-context-descriptive-5effbb.md b/_rules/link-in-context-descriptive-5effbb.md index 557490feff1..9fb7d4d73dc 100755 --- a/_rules/link-in-context-descriptive-5effbb.md +++ b/_rules/link-in-context-descriptive-5effbb.md @@ -46,8 +46,6 @@ The [accessible name][] of each target element together with its [programmatical - This rule assumes that all [semantic][semantic role] `link` elements are used as links. An element marked up as a link, but that does not behave as a link would not fail success criteria [2.4.4 Link Purpose (In Context)][sc244] or [2.4.9 Link Purpose (Link only)][sc249]. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. - ## Accessibility Support - Implementation of [Presentational Roles Conflict Resolution][] varies from one browser or assistive technology to another. Depending on this, some [semantic][semantic role] `link` elements can fail this rule with some technology but users of other technologies would not experience any accessibility issue. diff --git a/_rules/links-identical-name-equivalent-purpose-b20e66.md b/_rules/links-identical-name-equivalent-purpose-b20e66.md index 60ba7c69b80..6cebb0a6417 100755 --- a/_rules/links-identical-name-equivalent-purpose-b20e66.md +++ b/_rules/links-identical-name-equivalent-purpose-b20e66.md @@ -47,7 +47,6 @@ When followed, the links in each set of target elements resolve to the [same res - This rule assumes that the purpose of the links with identical [accessible names][accessible name] would not be ambiguous to users in general when seen in context on the web page, which is the exception mentioned in [Success Criterion 2.4.9 Link Purpose (Link Only)][sc249]. If the links are ambiguous to users in general, users of assistive technologies are not at a disadvantage when viewing the links out of context, e.g. on a list of links in a screen reader, which makes it more of a general user experience concern than an accessibility issue. - This rule assumes that, within the context of the test subject, the description provided by the [accessible name][] of a link can only accurately describe one resource (notably, homonyms alone are not used as link names). Thus, if two or more links have the same [accessible name][] but resolve to different resources, at least one of them does not describe its purpose. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. ## Accessibility Support diff --git a/_rules/links-with-identical-names-and-context-serve-equivalent-purpose-fd3a94.md b/_rules/links-with-identical-names-and-context-serve-equivalent-purpose-fd3a94.md index 7aea32eb2d4..fc715344862 100755 --- a/_rules/links-with-identical-names-and-context-serve-equivalent-purpose-fd3a94.md +++ b/_rules/links-with-identical-names-and-context-serve-equivalent-purpose-fd3a94.md @@ -55,7 +55,6 @@ When followed, the links in each set of target elements resolve to the [same res - This rule assumes that the purpose of the links with identical [accessible names][accessible name] and [context][programmatically determined link context] would not be ambiguous to users in general, which is the exception mentioned in [Success Criterion 2.4.4 Link Purpose (In Context)][sc244]. If the links are ambiguous to users in general, users of assistive technologies are not at a disadvantage when viewing the links, which makes it more of a general user experience concern than an accessibility issue. - This rule assumes that, within the context of the test subject, the description provided by the [accessible name][] of a link can only accurately describe one resource (notably, homonyms alone are not used as link names). Thus, if two or more links have the same [accessible name][] but resolve to different resources, at least one of them does not describe its purpose. -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. - This rule assumes that assistive technologies are exposing all links on the page in the same way no matter which [document tree](https://dom.spec.whatwg.org/#document-trees) they are in. If an assistive technology requires the user to "enter" an `iframe` or a [shadow tree][] before exposing its links, then it is possible for two links to have identical name and context but resolve to different resources without failing [Success Criterion 2.4.4 Link Purpose (In Context)][sc244] (if said links are in separate [documents][document] or [shadow trees][shadow tree]) ## Accessibility Support diff --git a/_rules/non-visual-reference-alternative-9bd38c.md b/_rules/non-visual-reference-alternative-9bd38c.md index de107b4c851..7cd430a7f06 100755 --- a/_rules/non-visual-reference-alternative-9bd38c.md +++ b/_rules/non-visual-reference-alternative-9bd38c.md @@ -51,9 +51,7 @@ For each test target, either it contains none of the [visual reference words][], ## Assumptions -- This rule assumes that [visual reference words][] are forms of information conveyed through visual presentation. Therefore, failing this rule fails both [Success Criterion 1.3.1 Info and Relationships][sc131] and [Success Criterion 1.3.3 Sensory Characteristics][sc133]. Visual presentation is not limited to CSS and includes images such as the image of a circle with text. - -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that [visual reference words][] are forms of information conveyed through visual presentation. Therefore, failing this rule fails both [Success Criterion 1.3.1 Info and Relationships][sc131] and [Success Criterion 1.3.3 Sensory Characteristics][sc133]. Visual presentation is not limited to CSS and includes images such as the image of a circle with text. ## Accessibility Support diff --git a/_rules/video-as-media-alternative-ab4d13.md b/_rules/video-as-media-alternative-ab4d13.md index 5d3accc1ac0..4c8b48b95a8 100755 --- a/_rules/video-as-media-alternative-ab4d13.md +++ b/_rules/video-as-media-alternative-ab4d13.md @@ -34,8 +34,7 @@ Each test target is labeled as a video alternative for text on the page. This la ## Assumptions -- This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-audio-description-1ea59c.md b/_rules/video-audio-description-1ea59c.md index d2dc440d4b6..ca29008e106 100755 --- a/_rules/video-audio-description-1ea59c.md +++ b/_rules/video-audio-description-1ea59c.md @@ -44,8 +44,7 @@ The visual information of each test target is available through its audio, or th ## Assumptions -- This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-description-track-f196ce.md b/_rules/video-description-track-f196ce.md index 88e1e1de7a8..c1541992e8c 100755 --- a/_rules/video-description-track-f196ce.md +++ b/_rules/video-description-track-f196ce.md @@ -41,8 +41,7 @@ _Note_: Multiple description `track` elements may be useful for different langua ## Assumptions -- This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-only-as-media-alternative-fd26cf.md b/_rules/video-only-as-media-alternative-fd26cf.md index b05c7116e4e..b99a8501a47 100755 --- a/_rules/video-only-as-media-alternative-fd26cf.md +++ b/_rules/video-only-as-media-alternative-fd26cf.md @@ -36,8 +36,7 @@ The label (from expectation 2) is [visible][] and [included in the accessibility ## Assumptions -- A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- The language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-only-audio-track-d7ba54.md b/_rules/video-only-audio-track-d7ba54.md index 2eed1aedfeb..74a4c98a703 100755 --- a/_rules/video-only-audio-track-d7ba54.md +++ b/_rules/video-only-audio-track-d7ba54.md @@ -33,8 +33,7 @@ The visual information of each test target is available through an audio track. ## Assumptions -- A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- The language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-only-description-track-ac7dc6.md b/_rules/video-only-description-track-ac7dc6.md index 6b511d4b57b..61c4de74777 100755 --- a/_rules/video-only-description-track-ac7dc6.md +++ b/_rules/video-only-description-track-ac7dc6.md @@ -34,8 +34,7 @@ The visual information of each test target is described with a description `trac ## Assumptions -- A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- The language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-only-transcript-ee13b5.md b/_rules/video-only-transcript-ee13b5.md index 7fdd5b4bc28..843a987f7d3 100755 --- a/_rules/video-only-transcript-ee13b5.md +++ b/_rules/video-only-transcript-ee13b5.md @@ -38,8 +38,7 @@ The visual information of each test target is available in a text transcript tha ## Assumptions -- A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- The language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +A mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support diff --git a/_rules/video-transcript-1a02b0.md b/_rules/video-transcript-1a02b0.md index 509167d701b..8cb12e3b16d 100755 --- a/_rules/video-transcript-1a02b0.md +++ b/_rules/video-transcript-1a02b0.md @@ -45,8 +45,7 @@ A text transcript containing all the visual and auditory information of the test ## Assumptions -- This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). -- This rule assumes that the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood. +This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the [poster](https://www.w3.org/TR/html5/semantics-embedded-content.html#element-attrdef-video-poster). ## Accessibility Support From f76c2ee3cd0e62559617eade17b53a8dc9ba93b8 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Thu, 4 Nov 2021 14:22:51 +0100 Subject: [PATCH 2/3] Typo --- .../document-has-instrument-to-non-repeated-content-ye5d6e.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md b/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md index fddd3ed9dcd..4b9f76ca7fa 100755 --- a/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md +++ b/_rules/document-has-instrument-to-non-repeated-content-ye5d6e.md @@ -44,7 +44,7 @@ For each test target, there exists at least one [instrument][] inside it to move ## Assumptions -- This rule assumes that there is at least one [block of repeated content][] before the non-repeated content, and therefore [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123] will require a link to the non-repeated content in order to skip this [block of repeated content][]. If there is no [block of repeated content][] before the non-repeated content, then it is possible to fail this rule but still pass [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123]. +This rule assumes that there is at least one [block of repeated content][] before the non-repeated content, and therefore [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123] will require a link to the non-repeated content in order to skip this [block of repeated content][]. If there is no [block of repeated content][] before the non-repeated content, then it is possible to fail this rule but still pass [Technique G123: Adding a link at the beginning of a block of repeated content to go to the end of the block][tech g123]. ## Accessibility Support From 369e5bff90714c80c4fa055d7e66641d613ba0f3 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Thu, 9 Jun 2022 13:44:23 +0200 Subject: [PATCH 3/3] Post-merge cleanup --- _rules/html-page-title-descriptive-c4a8a4.md | 0 _rules/non-visual-reference-alternative-9bd38c.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 _rules/html-page-title-descriptive-c4a8a4.md mode change 100644 => 100755 _rules/non-visual-reference-alternative-9bd38c.md diff --git a/_rules/html-page-title-descriptive-c4a8a4.md b/_rules/html-page-title-descriptive-c4a8a4.md old mode 100644 new mode 100755 diff --git a/_rules/non-visual-reference-alternative-9bd38c.md b/_rules/non-visual-reference-alternative-9bd38c.md old mode 100644 new mode 100755