Skip to content

Commit 0e1dca8

Browse files
committed
Add prominent note, and additional note, about being pointer-device-specific
1 parent 7e68c07 commit 0e1dca8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mediaqueries/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,6 +1637,12 @@ Interaction Media Features</h2>
16371637
in response to changes in the user environment
16381638
or in the way the user is interacting with the UA.
16391639

1640+
Note: The 'pointer', 'hover', 'any-pointer' and 'any-hover' features only relate to the characteristics,
1641+
or the complete absence, of pointing devices,
1642+
and can not be used to detect the presence of non-pointing device input mechanisms such as keyboards.
1643+
Authors should take into account the potential presence of non-pointing device inputs,
1644+
regardless of which values are matched when querying these features.
1645+
16401646
<h3 id="pointer">
16411647
Pointing Device Quality: the 'pointer' feature</h3>
16421648

@@ -1816,6 +1822,9 @@ All Available Interaction Capabilities: the 'any-pointer' and 'any-hover' featur
18161822
As such, it should be understood as a query to test if any hover-capable pointing devices are present,
18171823
rather than whether or not any of the pointing devices is hover-incapable.
18181824
The latter scenario can currently not be determined using 'any-hover' or any other interaction media feature.
1825+
Additionally, it does not take into account any non-pointing device inputs,
1826+
such as d-pads or keyboard-only controls,
1827+
which by their very nature are also not hover-capable.
18191828
</div>
18201829

18211830
<div class="example">

0 commit comments

Comments
 (0)