Skip to content

Commit b0efe56

Browse files
authored
Merge pull request #2470 from patrickhlauke/patrickhlauke-patch1
[mediaqueries-4] Move 'pointer'/'hover' note, reword "can potentially" to "should strongly consider"
2 parents 34a4c39 + d58561c commit b0efe56

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

mediaqueries-4/Overview.bs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,14 @@ Note: the '@media/hover', '@media/any-hover', '@media/pointer', and '@media/any-
17521752
or the complete absence, of pointing devices,
17531753
and can not be used to detect the presence of non-pointing device input mechanisms such as keyboards.
17541754
Authors should take into account the potential presence of non-pointing device inputs,
1755-
regardless of which values are matched when querying these features.
1755+
regardless of which values are matched when querying these features.
1756+
1757+
<div class="note">
1758+
While 'pointer' and 'hover' can be used to design the main style and interaction
1759+
mode of the page to suit the primary input mechanism (based on the characteristics, or complete absence,
1760+
of the primary pointing device), authors should strongly consider using 'any-pointer' and 'any-hover'
1761+
to take into account all possible types of pointing devices that have been detected.
1762+
</div>
17561763

17571764
<h3 id="pointer">
17581765
Pointing Device Quality: the 'pointer' feature</h3>
@@ -1952,12 +1959,6 @@ Note: This feature is at risk.
19521959
</div>
19531960

19541961
<div class="note">
1955-
While 'pointer' and 'hover' can be used to design the main style and interaction
1956-
mode of the page to suit the primary input mechanism (based on the characteristics, or complete absence,
1957-
of the primary pointing device), 'any-pointer' and 'any-hover'
1958-
can be used to potentially take into account all possible types of pointing devices
1959-
that have been detected.
1960-
19611962
Designing a page that relies on hovering or accurate pointing
19621963
only because 'any-hover' or 'any-pointer' indicate that at least one of the available
19631964
input mechanisms has these capabilities is likely to result in a poor experience.

0 commit comments

Comments
 (0)