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

Add note about language #521

Merged
merged 3 commits into from Oct 28, 2021
Merged
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
4 changes: 3 additions & 1 deletion NOTE-act-rules-common-aspects.bs
Expand Up @@ -64,4 +64,6 @@ Language {#input-aspects-text}

Language, either written or spoken, contained in nodes of the DOM [[DOM]] or accessibility trees may be of interest to ACT Rules that intend to test things like complexity or intention of the language. For example, an ACT Rule might test that paragraphs of text within the DOM tree do not exceed a certain readability score or that the text alternative of an image provides a sufficient description.

The means by which the language is assessed, whether by a person or a machine, is not of importance as long as the assessment meets the criteria defined in [[wcag2-tech-req#humantestable]] [[WCAG]].
Rules can only operate on Language if it can be determined, but the means by which the language is assessed, whether by a person or a machine, is not of importance as long as the assessment meets the criteria defined in [[wcag2-tech-req#humantestable]] [[WCAG]].

Some rules cannot operate on a Language which is not sufficiently understood; while some other only need to be able to assess it. For example, a rule checking that an accessible name is descriptive cannot operate on a Language that is not understood; but a rule checking the correctness of a `lang` attribute can operate on a Language that is not understood.
Jym77 marked this conversation as resolved.
Show resolved Hide resolved
Jym77 marked this conversation as resolved.
Show resolved Hide resolved