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

Success Criterion 1.4.13: Content on Hover or Focus (Level AA) #108

Closed
nitedog opened this issue Feb 20, 2023 · 18 comments
Closed

Success Criterion 1.4.13: Content on Hover or Focus (Level AA) #108

nitedog opened this issue Feb 20, 2023 · 18 comments

Comments

@nitedog
Copy link

nitedog commented Feb 20, 2023

From Success Criterion 1.4.13:

Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:

Dismissible
A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

Hoverable
If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;

Persistent
The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.

Exception: The visual presentation of the additional content is controlled by the user agent and is not modified by the author.

Note: Examples of additional content controlled by the user agent include browser tooltips created through use of the HTML title attribute.

Note: Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.

Additional Guidance When Applying Success Criterion 1.4.13 to Non-Web Documents and Software:

With these substitutions, it would read:

Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:

Dismissible
A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

Hoverable
If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;

Persistent
The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.

Exception: The visual presentation of the additional content is controlled by the operating system and is not modified by the author.

Note: Examples of additional content controlled by the operating system include tooltips created through use of component property names.

Note: Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.

@maryjom
Copy link
Contributor

maryjom commented Feb 20, 2023

@nitedog Let me know when this is ready for survey.

@nitedog
Copy link
Author

nitedog commented Feb 20, 2023

Yes, I think so.

@mitchellevan
Copy link
Contributor

controlled by the operating system

Non-web documents rely on a user agent, so we should say "controlled by the user agent or operating system". Or however we're saying this elsewhere — I think it's "controlled by the user agent or platform software" ...?

created through use of component property names

Nit: I would say "created through use of component properties" — name-value pairs I presume

@maryjom
Copy link
Contributor

maryjom commented Feb 21, 2023

Created Survey for 1.4.13 Due 2 March. If you aren't a Task Force participant, you can view the survey results.

@mraccess77
Copy link

It seems to me that use of "operating system" is too limited as this would be applied to non-web documents as well. Exceptions might be controlled through a PDF viewer or Word Processor which are user agents.

@pday1
Copy link
Contributor

pday1 commented Feb 24, 2023

I agree with the previous comments about "operating system" being a little restrictive

Would "operating system or platform software" work if we wish to avoid using "user agent"?

@pday1
Copy link
Contributor

pday1 commented Feb 24, 2023

Having just caught up with the latest updates to key terms, I think we should just use the term "platform software", as the definition of this includes the operating system.

See definition of "accessibility services of platform software" in key terms for more detail. Temp link is https://deploy-preview-111--wcag2ict.netlify.app/#key-terms or see detail in pull request #111 https://github.com/w3c/wcag2ict/pull/111/files

@mraccess77
Copy link

I agree with platform software - Section 508 it defines it as:
Platform Software. Software that interacts with hardware or provides services for other software. Platform software may run or host other software, and may isolate them from underlying software or hardware layers. A single software component may have both platform and non-platform aspects. Examples of platforms are: desktop operating systems; embedded operating systems, including mobile systems; Web browsers; plug- ins to Web browsers that render a particular media or format; and sets of components that allow other applications to execute, such as applications which support macros or scripting.

@loicmn
Copy link

loicmn commented Mar 1, 2023

There are several issues:

  • I agree that we should use "platform software" instead of "operating system". It was the agreement reached in both Section 508 and EN 301 549.
  • I also agree that we need to keep "user agent" for non-web documents.
  • In the text explaining how this would apply to non-web ICT, the term substitutions should be explicit and detailed. They should allow anyone to "build" the adapted SC without looking at the part where we say "... it would read".

Taking this into account and the previous comments, here is my proposal.

For the additional guidance:

This applies directly as written, and as described in Intent from Understanding Success Criterion 1.4.13 (also provided below), replacing:

  • "user agent" with "user agent (for non-web documents) or platform software (for non-web sofware)" in the exception and note 1
  • "browser tooltips" with "tooltips"
  • "the HTML title attribute" with "user interface object attributes"

That would imply that the exception now reads:

Exception: The visual presentation of the additional content is controlled by the user agent (for non-web documents) or platform software (for non-web sofware) and is not modified by the author.

And the note 1 would read:

Note: Examples of additional content controlled by the user agent (for non-web documents) or platform software (for non-web sofware) include tooltips created through use of user interface object properties.`

@maryjom
Copy link
Contributor

maryjom commented Mar 1, 2023

Here is a version with proposals so far (as of 11 AM eastern on 1 March), incorporated and my additional edits to enumerate the word replacements consistent with how all of the other SC are handled.

From Success Criterion 1.4.13:

Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:

Dismissible
A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

Hoverable
If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;

Persistent
The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.

Exception: The visual presentation of the additional content is controlled by the user agent and is not modified by the author.

NOTE
Examples of additional content controlled by the user agent include browser tooltips created through use of the HTML title attribute.

NOTE
Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.

Guidance When Applying Success Criterion 1.4.13 to Non-Web Documents and Software:

This applies directly as written, and as described in Intent from Understanding Success Criterion 1.4.13 (also provided below), replacing "user agent" with "user agent or platform software", "browser tooltips" with "tooltips", and "the HTML title attribute" with "user interface object attributes".

With these substitutions, it would read:

Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:

Dismissible
A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content;

Hoverable
If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;

Persistent
The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.

Exception: The visual presentation of the additional content is controlled by the [user agent or platform software] and is not modified by the author.

Note: Examples of additional content controlled by the [user agent or platform software] include tooltips created through use of [user interface object attributes].

Note: Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.

@maryjom
Copy link
Contributor

maryjom commented Mar 2, 2023

@ChrisLoiselle @pday1 Could one of you please implement the content from my comment above in GitHub? Whomever takes it first, unassign the other person so you aren't both working on it at the same time.

pday1 added a commit that referenced this issue Mar 6, 2023
Incorporating changes from issue #108 to incorporate SC 1.4.13: content on hover or focus
@pday1
Copy link
Contributor

pday1 commented Mar 6, 2023

I've made a start on incorporating these changes in pull request PR #119

@pday1 pday1 removed their assignment Mar 31, 2023
@mraccess77
Copy link

Where can we find a definition of "user interface object attributes"?

@maryjom
Copy link
Contributor

maryjom commented Apr 11, 2023

@mraccess77 We don't have these terms defined in the document. "User interface object" is typical object oriented programming terminology for an instance/implementation of a UI component. "Attributes" are related to "properties" and in different programming languages, the "setting", "attribute" or "property" is the term used. In some programming languages there are differences between these. I have to say trying to nail down very specific terms and definitions for these that fits all software programming languages is difficult.

Are you thinking we need to come up with a definition? If so, please open an issue.

@mraccess77
Copy link

If we are replacing title attribute with a generic term it could become to wide an exception - I would recommend we try to narrow the term to cover something that is controlled by the platform/user agent. Word documents have links with title as well as an example.

@maryjom
Copy link
Contributor

maryjom commented Apr 11, 2023

@mraccess77 This is simply a note on the exception that provides an example of what constitutes a tooltip whose display is controlled by a user agent or software platform. I don't see this as an expansion of the exception at all.

The original notes in WCAG were:

Note: Examples of additional content controlled by the user agent include browser tooltips created through use of the HTML title attribute.

Note: Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.

In WCAG, the first note is one example for HTML. We simply provided a non-web example similar to the original one, but in a non-web software context. Are you thinking we need to expand the example to include another example for how a tooltip is typically accomplished in a non-web document? If so, I'd prefer to have a new issue to track and resolve it since the AG WG approved the WCAG2ICT guidance as-is without changes in today's meeting.

@mraccess77
Copy link

@maryjom Ok, that seems like a reasonable approach.

@maryjom
Copy link
Contributor

maryjom commented May 7, 2023

The AG WG approved the content on 11 April, so closing.

@maryjom maryjom closed this as completed May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

7 participants