Skip to content
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

Remove the assumption on Language being found and understood #1741

Merged
merged 7 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion _rules/audio-as-media-alternative-afb423.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion _rules/audio-transcript-2eb176.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +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 the language of each test target can be correctly determined (either programmatically or by analyzing the content), and sufficiently understood.
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

Expand Down
1 change: 0 additions & 1 deletion _rules/form-field-label-descriptive-cc0f0a.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/heading-descriptive-b49b2e.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Jym77 marked this conversation as resolved.
Show resolved Hide resolved

## Accessibility Support

Expand Down
2 changes: 1 addition & 1 deletion _rules/html-page-title-descriptive-c4a8a4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/iframe-identical-name-equivalent-purpose-4b1c6c.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion _rules/image-accessible-name-descriptive-qt1vmo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion _rules/image-filename-as-accessible-name-9eb3f6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion _rules/link-alone-descriptive-aizyf1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions _rules/link-in-context-descriptive-5effbb.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion _rules/links-identical-name-equivalent-purpose-b20e66.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions _rules/non-visual-reference-alternative-9bd38c.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-as-media-alternative-ab4d13.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-audio-description-1ea59c.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-description-track-f196ce.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-only-as-media-alternative-fd26cf.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Jym77 marked this conversation as resolved.
Show resolved Hide resolved

## Accessibility Support

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-only-audio-track-d7ba54.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Jym77 marked this conversation as resolved.
Show resolved Hide resolved

## Accessibility Support

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-only-description-track-ac7dc6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Jym77 marked this conversation as resolved.
Show resolved Hide resolved

## Accessibility Support

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-only-transcript-ee13b5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Jym77 marked this conversation as resolved.
Show resolved Hide resolved

## Accessibility Support

Expand Down
3 changes: 1 addition & 2 deletions _rules/video-transcript-1a02b0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down