47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
# Input-neutral UI interaction verbs complementing Microsoft.UIVerbs.
|
|
# Based on Microsoft Writing Style Guide: Describing interactions with UI.
|
|
extends: substitution
|
|
message: "Use the input-neutral UI verb '%s' instead of '%s'."
|
|
link: https://learn.microsoft.com/en-us/style-guide/procedures-instructions/describing-interactions-with-ui
|
|
level: warning
|
|
ignorecase: true
|
|
action:
|
|
name: replace
|
|
swap:
|
|
deselect: clear
|
|
deselected: cleared
|
|
deselecting: clearing
|
|
deselects: clears
|
|
drag and drop: drag
|
|
drag-and-drop: drag
|
|
key in: enter
|
|
keyed in: entered
|
|
keying in: entering
|
|
mouse over: hover over
|
|
moused over: hovered over
|
|
mousing over: hovering over
|
|
navigate to: go to
|
|
navigated to: went to
|
|
navigating to: going to
|
|
press and hold: select and hold
|
|
tap and hold: select and hold
|
|
tap on: select
|
|
tapped on: selected
|
|
tapping on: selecting
|
|
uncheck: clear
|
|
unchecking: clearing
|
|
unchecks: clears
|
|
|
|
tests:
|
|
- name: flags input-specific UI verbs
|
|
input: |
|
|
Navigate to Settings, uncheck Auto-save, and mouse over the badge.
|
|
want: |
|
|
1:1:Archie.UIInteractions:Use the input-neutral UI verb 'go to' instead of 'Navigate to'.
|
|
1:23:Archie.UIInteractions:Use the input-neutral UI verb 'clear' instead of 'uncheck'.
|
|
1:46:Archie.UIInteractions:Use the input-neutral UI verb 'hover over' instead of 'mouse over'.
|
|
- name: accepts input-neutral UI verbs
|
|
input: |
|
|
Go to Settings, clear Auto-save, and hover over the badge.
|
|
want: ""
|