Skip to content

Commit

Permalink
Add advice to use default cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Boxhall committed Aug 8, 2018
1 parent 99bbba4 commit f3a8b83
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -72251,13 +72251,20 @@ END:VCARD</pre>
<p w-nodev>When an element has an <code data-x="attr-inert">inert</code> attribute, the user agent
must mark that element and all its descendants as <span>inert</span>.</p>

<p class="note">By default, there is no visual indication of a subtree being inert. Authors are
encouraged to clearly mark what parts of their document are active and which are inert, to avoid
user confusion. In particular, it is worth remembering that not all users can see all parts of a
page at once; for example, users of screen readers, users on small devices or with magnifiers, and
even users just using particularly small windows might not be able to see the active part of a
page and may get frustrated if inert sections are not obviously inert. For individual controls,
the <code data-x="attr-fe-disabled">disabled</code> attribute is probably more appropriate.</p>
<p class="note">By default, there is no persistent visual indication of a subtree being inert.
Since inert subtrees may not be the target of user interaction events,
including text selection,
user agents should show the default cursor when an the user indicates an element in an inert subtree
using a pointing device.
Authors are encouraged to clearly mark what parts of their document are active and which are inert,
to avoid user confusion.
In particular, it is worth remembering that not all users can see all parts of a page at once;
for example, users of screen readers, users on small devices or with magnifiers,
and even users just using particularly small windows
might not be able to see the active part of a page and may get frustrated
if inert sections are not obviously inert.
For individual controls, the <code data-x="attr-fe-disabled">disabled</code> attribute
is probably more appropriate.</p>

<p>The <dfn data-x="dom-inert"><code>inert</code></dfn> IDL attribute must <span>reflect</span>
the content attribute of the same name.</p>
Expand Down

0 comments on commit f3a8b83

Please sign in to comment.