-
Notifications
You must be signed in to change notification settings - Fork 284
/
Copy pathcontent-on-hover-or-focus.html
27 lines (16 loc) · 1.5 KB
/
content-on-hover-or-focus.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<section class="sc">
<h4>Content on Hover or Focus</h4>
<p class="conformance-level">AA</p>
<p>Where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true:</p>
<dl>
<dt>Dismissible</dt>
<dd>A <a>mechanism</a> is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an <a>input error</a> or does not obscure or replace other content;</dd>
<dt>Hoverable</dt>
<dd>If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing;</dd>
<dt>Persistent</dt>
<dd>The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.</dd>
</dl>
<p>Exception: The visual presentation of the additional content is controlled by the <a>user agent</a> and is not modified by the author.</p>
<p class="note">Examples of additional content controlled by the user agent include browser tooltips created through use of the HTML <a href="https://www.w3.org/TR/html/dom.html#the-title-attribute"><code>title</code> attribute</a>.</p>
<p class="note">Custom tooltips, sub-menus, and other nonmodal popups that display on hover and focus are examples of additional content covered by this criterion.</p>
</section>