public enum AccessibleRoleWhat kind of thing an element is, in the vocabulary assistive technology already knows.
Remarks
The tokens are WAI-ARIA 1.2's role names, PascalCased, and not one of them was invented here. The list a reader can check this against is 4; the member name is the role token with its words capitalised — menuitemcheckbox is MenuItemCheckBox, tablist is TabList. A role this enum does not have yet is added by its ARIA name rather than approximated with a neighbour.
⚠ Why a published vocabulary rather than one shaped to this control set. Every bridge this tree will ever have already maps ARIA: AT-SPI2 has a documented ARIA correspondence, UIA's control types are mapped from ARIA by the HTML-AAM, and NSAccessibility's roles are what WebKit maps ARIA onto. An enum invented from the controls that happen to exist here would be a third vocabulary that every bridge author has to learn and that no specification can settle an argument about — and 09's own Testing table asks for an "ARIA-role snapshot", so the name was already chosen.
⚠ None is ARIA's none, and it is the default for every element on purpose. A layout <div>, a Panel, the box a control draws its focus ring on — these are not things a screen reader should announce, and a tree that reported them would read a form as forty nested groups. An element with None is skipped and its children are read in its place, which is what role="none" means on the web and what IsInAccessibilityTree answers.
Fields and properties (63)
NoneARIA none: not a node in the tree at all. Its children are read in its place.
AlertARIA alert.
AlertDialogARIA alertdialog.
ApplicationARIA application.
ArticleARIA article.
BannerARIA banner.
ButtonARIA button.
CellARIA cell.
CheckBoxARIA checkbox.
ColumnHeaderARIA columnheader.
ComboBoxARIA combobox.
ComplementaryARIA complementary.
ContentInfoARIA contentinfo.
DialogARIA dialog.
DocumentARIA document.
FeedARIA feed.
FigureARIA figure.
FormARIA form.
GridARIA grid.
GridCellARIA gridcell.
GroupARIA group.
HeadingARIA heading.
ImgARIA img.
LinkARIA link.
ListARIA list.
ListBoxARIA listbox.
ListItemARIA listitem.
LogARIA log.
MainARIA main.
MenuARIA menu.
MenuBarARIA menubar.
MenuItemARIA menuitem.
MenuItemCheckBoxARIA menuitemcheckbox.
MenuItemRadioARIA menuitemradio.
NavigationARIA navigation.
NoteARIA note.
OptionARIA option.
ProgressBarARIA progressbar.
RadioARIA radio.
RadioGroupARIA radiogroup.
RegionARIA region.
RowARIA row.
RowGroupARIA rowgroup.
RowHeaderARIA rowheader.
ScrollBarARIA scrollbar.
SearchARIA search.
SearchBoxARIA searchbox.
SeparatorARIA separator.
SliderARIA slider.
SpinButtonARIA spinbutton.
StatusARIA status.
SwitchARIA switch.
TabARIA tab.
TableARIA table.
TabListARIA tablist.
TabPanelARIA tabpanel.
TextBoxARIA textbox.
TimerARIA timer.
ToolbarARIA toolbar.
TooltipARIA tooltip.
TreeARIA tree.
TreeGridARIA treegrid.
TreeItemARIA treeitem.
Used by (93, showing 40)
- AccessibilityCoverageTestsVixen.Ui.Controls.Advanced.Tests
- AccessibilityCoverageTestsVixen.Ui.Controls.Tests
- AccessibilityNodeVixen.Ui
- AccessibilitySnapshotVixen.Ui.Testing
- AccessibilityTestsVixen.Ui.Tests
- AccessibilityTreeTestsVixen.Ui.Tests
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- AccessibilityTreeTestsVixen.Ui.Controls.Advanced.Tests
- AccessibleNodeVixen.Ui
- AlertVixen.Ui.Controls
- ApplicationBarTestsVixen.Ui.Controls.Tests
- AvatarVixen.Ui.Controls
- BadgeVixen.Ui.Controls
- BreadcrumbVixen.Ui.Controls
- BreadcrumbItemVixen.Ui.Controls
- ButtonBaseVixen.Ui.Controls
- CheckBoxVixen.Ui.Controls
- CodeEditorVixen.Ui.Controls.Advanced
- ColorFieldVixen.Ui.Controls.Advanced
- ColorInputVixen.Ui.Controls.Advanced
- ColorPickerVixen.Ui.Controls.Advanced
- ColorPickerKeyboardTestsVixen.Ui.Controls.Advanced.Tests
- ColorStripVixen.Ui.Controls.Advanced
- ColorSwatchVixen.Ui.Controls.Advanced
- ComboBoxVixen.Ui.Controls
- ComboEditorVixen.Ui.Controls
- CurveEditorVixen.Ui.Controls.Advanced
- DataCellVixen.Ui.Controls.Advanced
- DataGridVixen.Ui.Controls.Advanced
- DataHeaderCellVixen.Ui.Controls.Advanced
- DataRowVixen.Ui.Controls.Advanced
- DialogVixen.Ui.Controls
- DockGroupViewVixen.Ui.Controls.Advanced
- DockPanelVixen.Ui.Controls.Advanced
- DockSplitterViewVixen.Ui.Controls.Advanced
- DockTabVixen.Ui.Controls.Advanced
- DrawerVixen.Ui.Controls
- EmptyStateVixen.Ui.Controls
- GradientEditorVixen.Ui.Controls.Advanced
- GradientRailVixen.Ui.Controls.Advanced