You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve remaning build warnings and prevent future instances (#4201)
Resolves#3922
This PR resolves 2 warnings that have been in the Eleventy build since
its introduction, then switches those warnings to errors to prevent
further instances from being introduced.
## Fixes
- Two sections with the same ID in F61
- Redundant Success Criteria section in 2.5 Input Modalities (along with
some other edits to make this file consistent with other Guideline
pages)
None of these fixes cause changes to output other than whitespace
(because the build system was previously auto-fixing these cases).
## Preventive measures
The following will now fail the build (and PR checks):
- Presence of the same `id` on multiple `section` elements within the
same page
- Presence of Success Criteria section (which is auto-generated)
<p>All functionality should be accessible via pointer input devices, for example, via a mouse pointer, a finger interacting with a touch screen, an electronic pencil/stylus, or a laser pointer.p>
16
14
<p>People operating pointer input devices may not be able to carry out timed or complex gestures. Examples are drag-and-drop gestures and on touch screens, swiping gestures, split taps, or long presses. This Guideline does not discourage the provision of complex and timed gestures by authors. However, where they are used, an alternative method of input should be provided to enable users with motor impairments to interact with content via single untimed pointer gestures.p>
17
15
<p>Often, people use devices that offer several input methods, for example, mouse input, touch input, keyboard input, and speech input. These should be supported concurrently as users may at any time swich preferred input methods due to situational circumstances, for example, the availability of a flat support for mouse operation, or situational impediments through motion or changes of ambient light.p>
18
16
<p>A common requirement for pointer interaction is the ability of users to position the pointer over the target. With touch input, the pointer (the finger) is larger and less precise than a mouse cursor. For people with motor impairments, a larger target makes it easier to successfully position the pointer and activate the target.p>
0 commit comments