diff --git a/understanding/22/focus-not-obscured-enhanced.html b/understanding/22/focus-not-obscured-enhanced.html index f3c6a91728..cfc97261d5 100644 --- a/understanding/22/focus-not-obscured-enhanced.html +++ b/understanding/22/focus-not-obscured-enhanced.html @@ -1,98 +1,68 @@ - + - - Understanding Focus Not Obscured (Enhanced) - + +Understanding Focus Not Obscured (Enhanced) + -

Understanding Focus Not Obscured (Enhanced)

- -
-

Status

-

This understanding document is part of the draft WCAG 2.2 content. It may change or be removed before the final WCAG 2.2 is published.

-
- - -
- -

Focus Not Obscured Success Criterion text

-
-

When a user interface component receives keyboard focus, no part of the component is hidden by author-created content.

-
-
- -
-

In brief

-
-
Objective
Do not cover any part of the item with focus
-
Author task
Ensure no content obstructs the item receiving keyboard focus
-
Key beneficiaries
Some users with cognitive disabilities and sighted users reliant on keyboard interaction
-
- -
- -
- -

Intent of Focus Not Obscured (Enhanced)

- -

The purpose of this Success Criterion is to ensure that a component with keyboard focus is visible. This criterion is closely related to Focus Not Obscured (Minimum) but requires that the whole of the component is visible.

- -
- -
-

Benefits of Focus Not Obscured (Enhanced)

- - - -
- -
-

Examples of Focus Not Obscured (Enhanced)

- - - -
- -
-

Resources

- -
- - -
-

Techniques for Focus Not Obscured (Enhanced)

- - -
-

Sufficient Techniques

- -
    -
  1. - C43 -
  2. -
  3. - CSS: Using scroll-padding to ensure a sticky header does not entirely obscure the focused item (Potential future technique). -
  4. -
- -
- -
-

Additional Techniques (Advisory)

- -
- -
-

Failures

-
- -
- +

Understanding Focus Not Obscured (Enhanced)

+
+

Status

+

This understanding document is part of the draft WCAG 2.2 content. It may change or be removed before the final WCAG 2.2 is published.

+
+
+

Focus Not Obscured (Enhanced) Success Criterion text

+
+

When a user interface component receives keyboard focus, no part of the component is hidden by author-created content.

+
+

If the interface is configurable so that the user can reposition content such as toolbars and non-modal dialogs, then only the initial positions of user-movable content are considered for testing and conformance of this Success Criterion.

+
+
+

Intent of Focus Not Obscured (Enhanced)

+

The intent of this Success Criterion is to ensure that the item receiving keyboard focus is always visible in the user's viewport. For sighted people who rely on a keyboard (or on a device that operates through the keyboard interface, such as a switch or voice input), knowing the current point of focus is critical. The component with focus signals the interaction point on the page. Where users cannot see the item with focus, they may not know how to proceed, or may even think the system has become unresponsive.

+

Typical types of content that can overlap focused items are sticky footers, sticky headers, and non-modal dialogs. As a user tabs through the page, these layers of content can obscure the item receiving focus, along with its focus indicator.

+

A notification implemented as sticky content, such as a cookie banner, will fail this Success Criterion if it partially obscures a component receiving focus. Ways of passing include making the banner modal so the user has to dismiss the banner before navigating through the page, or using scroll padding so the banner does not overlap other content. Notifications that do not require user action could also meet this criterion by closing on loss of focus.

+

Another form of obscuring can occur where light boxes or other semi-opaque effects overlap the item with focus. While less than 100 percent opacity is not entirely hidden, it is causing the component to be partially hidden and a failure of this Success Criterion. Such semi-opaque overlaps may also cause a failure of 2.4.11 Focus Appearance.

+
+
+

Benefits of Focus Not Obscured (Enhanced)

+ +
+
+

Examples of Focus Not Obscured (Enhanced)

+ +
+
+

Resources

+
+
+

Techniques for Focus Not Obscured (Enhanced)

+
+

Sufficient Techniques

+
    +
  1. C43 Using CSS margin and scroll-margin to un-obscure content
  2. +
+
+
+

Additional Techniques (Advisory)

+
+
+

Failures

+ +
+
- \ No newline at end of file + diff --git a/understanding/22/focus-not-obscured-minimum.html b/understanding/22/focus-not-obscured-minimum.html index d4dac96107..45fe37cf2e 100644 --- a/understanding/22/focus-not-obscured-minimum.html +++ b/understanding/22/focus-not-obscured-minimum.html @@ -1,12 +1,12 @@ - - Understanding Focus Not Obscured - + + Understanding Focus Not Obscured (Minimum) + -

Understanding Focus Not Obscured

+

Understanding Focus Not Obscured (Minimum)

Status

@@ -17,12 +17,12 @@

Status

-

Focus Not Obscured Success Criterion text

+

Focus Not Obscured (Minimum) Success Criterion text

When a user interface component receives keyboard focus, the component is not entirely hidden due to author-created content.

If the interface is configurable so that the user can reposition content such as toolbars and non-modal dialogs, then only the initial positions of user-movable content are considered for testing and conformance of this Success Criterion.

-
+

In brief

@@ -36,57 +36,57 @@

In brief

-

Intent of Focus Not Obscured

+

Intent of Focus Not Obscured (Minimum)

-

The intent of this Success Criterion is to ensure that the item receiving keyboard focus is always visible in the user's viewport. For sighted people who rely on a keyboard (or on a device that operates through the keyboard interface, such as a switch or voice input), knowing the current point of focus is critical. The component with focus signals the interaction point on the page. Where users cannot see the item with focus, they may not know how to proceed, or may even think the system has become unresponsive.

+

The intent of this Success Criterion is to ensure that the item receiving keyboard focus is always partially visible in the user's viewport. For sighted people who rely on a keyboard (or on a device that operates through the keyboard interface, such as a switch or voice input), knowing the current point of focus is critical. The component with focus signals the interaction point on the page. Where users cannot see the item with focus, they may not know how to proceed, or may even think the system has become unresponsive.

-

In recognition of the complex responsive designs common today, this AA criterion allows for the component receiving focus to be partially obscured by other author-created content. A partly obscured component can still be very visible, although the more of it that is obscured, the less easy it is to see. For that reason, authors should attempt to design interactions to reduce the degree and frequency with which the item receiving focus is partly obscured. For best visiblity, none of the component receiving focus should be hidden. This preferred outcome is covered by the AAA criterion Focus Not Obscured (Enhanced).

+

In recognition of the complex responsive designs common today, this AA criterion allows for the component receiving focus to be partially obscured by other author-created content. A partly obscured component can still be very visible, although the more of it that is obscured, the less easy it is to see. For that reason, authors should attempt to design interactions to reduce the degree and frequency with which the item receiving focus is partly obscured. For best visibility, none of the component receiving focus should be hidden. This preferred outcome is covered by the AAA criterion Focus Not Obscured (Enhanced).

Typical types of content that can overlap focused items are sticky footers, sticky headers, and non-modal dialogs. As a user tabs through the page, these layers of content can obscure the item receiving focus, along with its focus indicator.

A notification implemented as sticky content, such as a cookie banner, will fail this Success Criterion if it entirely obscures a component receiving focus. Ways of passing include making the banner modal so the user has to dismiss the banner before navigating through the page, or using scroll padding so the banner does not overlap other content. Notifications that do not require user action could also meet this criterion by closing on loss of focus.

-

Another form of obscuring can occur where light boxes or other semi-opaque effects overlap the item with focus. While less than 100 percent opacity is not causing the component to be "entirely hidden," such semi-opaque overlaps may cause a failure of 2.4.11 Focus Appearance. When a focus indicator can be covered by a semi-opaque component, the ability of the focus indicator to pass 2.4.11 should be evaluated (and pass) while the focus indicator is under the semi-opaque component. The intention in both situations is that the component receiving focus should never be obscured to the point a user cannot tell which item has focus.

+

Another form of obscuring can occur where light boxes or other semi-opaque effects overlap the item with focus. While less than 100 percent opacity is not causing the component to be entirely hidden, such semi-opaque overlaps may cause a failure of 2.4.11 Focus Appearance. When a focus indicator can be covered by a semi-opaque component, the ability of the focus indicator to pass 2.4.11 should be evaluated (and pass) while the focus indicator is under the semi-opaque component. The intention in both situations is that the component receiving focus should never be obscured to the point a user cannot tell which item has focus.

-
-

Benefits of Focus Not Obscured

+
+

Benefits of Focus Not Obscured (Minimum)

    -
  • Sighted users who rely on a keyboard interface to operate the page will be able to see the component which gets keyboard focus. Such users include those who rely on devices which use the keyboard interface, including speech input, sip-and-puff software, onscreen keyboards, scanning software, and a variety of assistive technologies and alternate keyboards.
  • -
  • People with limited or low vision, who may primarily user a pointer for screen orientation and repositioning, nonetheless benefit from a visible indication of the current point of keyboard interaction, especially where magnification reduces the overall viewing portion of the screen.
  • +
  • Sighted users who rely on a keyboard interface to operate the page will be able to see part of the component which gets keyboard focus. Such users include those who rely on devices which use the keyboard interface, including speech input, sip-and-puff software, on-screen keyboards, scanning software, and a variety of assistive technologies and alternate keyboards.
  • +
  • People with limited or low vision, who may primarily use a pointer for screen orientation and repositioning, nonetheless benefit from a visible indication of the current point of keyboard interaction, especially where magnification reduces the overall viewable portion of the content.
  • People with attention limitations, short term memory limitations, or limitations in executive processes benefit by being able to discover where the focus is located.
-
-

Examples of Focus Not Obscured

+
+

Examples of Focus Not Obscured (Minimum)

-
    -
  • A page has a sticky footer (attached to the bottom of the viewport). When tabbing down the page the focused item is not hidden by the footer.
  • -
  • A page has a large (30% wide) cookie approval dialogue. The dialogue is modal, preventing access to the other controls in the page until it has been dismissed.
  • -
  • A notification is implemented as a sticky header and the keyboard focus is moved to the notification. The notification is dismissed when it loses focus so it does not obscure any other controls.
  • -
+
    +
  • A page has a sticky footer (attached to the bottom of the viewport). When tabbing down the page the focused item is not completely hidden by the footer because content in the viewport scrolls up to always display the item with keyboard focus using scroll padding.
  • +
  • A page has a full-width cookie approval dialog. The dialog is modal, preventing access to the other controls in the page until it has been dismissed. Focus is not obscured because the major portion of the cookie approval dialog remains on screen (until selections are made and submitted), and so the major portion of the keyboard focus indicator remains visible.
  • +
  • A notification is implemented as a sticky header and the keyboard focus is moved to the notification so at least part of the focus indicator is in view. The notification disappears when it loses focus so it does not obscure any other controls, and part of the prior keyboard focus indicator is visible.
  • +
-
+
-

Resources

+

Resources

-
+
-

Techniques for Focus Not Obscured

+

Techniques for Focus Not Obscured (Minimum)

Sufficient Techniques

  1. - C43 + C43 Using CSS margin and scroll-margin to un-obscure content