Skip to content

Commit c10bef8

Browse files
committed
Add prominent note, and additional note, about being pointer-device-specific
1 parent bd0d906 commit c10bef8

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
@@ -1609,6 +1609,12 @@ Interaction Media Features</h2>
16091609
in response to changes in the user environment
16101610
or in the way the user is interacting with the UA.
16111611

1612+
Note: The 'pointer', 'hover', 'any-pointer' and 'any-hover' features only relate to the characteristics,
1613+
or the complete absence, of pointing devices,
1614+
and can not be used to detect the presence of non-pointing device input mechanisms such as keyboards.
1615+
Authors should take into account the potential presence of non-pointing device inputs,
1616+
regardless of which values are matched when querying these features.
1617+
16121618
<h3 id="pointer">
16131619
Pointing Device Quality: the 'pointer' feature</h3>
16141620

@@ -1788,6 +1794,9 @@ All Available Interaction Capabilities: the 'any-pointer' and 'any-hover' featur
17881794
As such, it should be understood as a query to test if any hover-capable pointing devices are present,
17891795
rather than whether or not any of the pointing devices is hover-incapable.
17901796
The latter scenario can currently not be determined using 'any-hover' or any other interaction media feature.
1797+
Additionally, it does not take into account any non-pointing device inputs,
1798+
such as d-pads or keyboard-only controls,
1799+
which by their very nature are also not hover-capable.
17911800
</div>
17921801

17931802
<div class="example">

0 commit comments

Comments
 (0)