Add `[role="treeitem"]` to hintable elements
This makes e.g. channels in Slack's channel list hintable.
This commit is contained in:
parent
8f21b6fd9f
commit
bb9f15056f
|
|
@ -1685,6 +1685,7 @@ hints.selectors:
|
|||
- '[role="menuitem"]'
|
||||
- '[role="menuitemcheckbox"]'
|
||||
- '[role="menuitemradio"]'
|
||||
- '[role="treeitem"]'
|
||||
- '[ng-click]'
|
||||
- '[ngClick]'
|
||||
- '[data-ng-click]'
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ class SelectionAndFilterTests:
|
|||
('<p role="menuitem" foo="bar"/>', ['all']),
|
||||
('<p role="menuitemcheckbox" foo="bar"/>', ['all']),
|
||||
('<p role="menuitemradio" foo="bar"/>', ['all']),
|
||||
('<p role="treeitem" foo="bar"/>', ['all']),
|
||||
('<p role="button" foo="bar"/>', ['all']),
|
||||
('<p role="button" href="bar"/>', ['all', 'url']),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue