Vixen
dd8b0a81
csharp
public enum AccessibleRole

What kind of thing an element is, in the vocabulary assistive technology already knows.

Read the guide page for this →

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)

  • None

    ARIA none: not a node in the tree at all. Its children are read in its place.

  • Alert

    ARIA alert.

  • AlertDialog

    ARIA alertdialog.

  • Application

    ARIA application.

  • Article

    ARIA article.

  • Banner

    ARIA banner.

  • Button

    ARIA button.

  • Cell

    ARIA cell.

  • CheckBox

    ARIA checkbox.

  • ColumnHeader

    ARIA columnheader.

  • ComboBox

    ARIA combobox.

  • Complementary

    ARIA complementary.

  • ContentInfo

    ARIA contentinfo.

  • Dialog

    ARIA dialog.

  • Document

    ARIA document.

  • Feed

    ARIA feed.

  • Figure

    ARIA figure.

  • Form

    ARIA form.

  • Grid

    ARIA grid.

  • GridCell

    ARIA gridcell.

  • Group

    ARIA group.

  • Heading

    ARIA heading.

  • Img

    ARIA img.

  • Link

    ARIA link.

  • List

    ARIA list.

  • ListBox

    ARIA listbox.

  • ListItem

    ARIA listitem.

  • Log

    ARIA log.

  • Main

    ARIA main.

  • Menu

    ARIA menu.

  • MenuBar

    ARIA menubar.

  • MenuItem

    ARIA menuitem.

  • MenuItemCheckBox

    ARIA menuitemcheckbox.

  • MenuItemRadio

    ARIA menuitemradio.

  • Navigation

    ARIA navigation.

  • Note

    ARIA note.

  • Option

    ARIA option.

  • ProgressBar

    ARIA progressbar.

  • Radio

    ARIA radio.

  • RadioGroup

    ARIA radiogroup.

  • Region

    ARIA region.

  • Row

    ARIA row.

  • RowGroup

    ARIA rowgroup.

  • RowHeader

    ARIA rowheader.

  • ScrollBar

    ARIA scrollbar.

  • Search

    ARIA search.

  • SearchBox

    ARIA searchbox.

  • Separator

    ARIA separator.

  • Slider

    ARIA slider.

  • SpinButton

    ARIA spinbutton.

  • Status

    ARIA status.

  • Switch

    ARIA switch.

  • Tab

    ARIA tab.

  • Table

    ARIA table.

  • TabList

    ARIA tablist.

  • TabPanel

    ARIA tabpanel.

  • TextBox

    ARIA textbox.

  • Timer

    ARIA timer.

  • Toolbar

    ARIA toolbar.

  • Tooltip

    ARIA tooltip.

  • Tree

    ARIA tree.

  • TreeGrid

    ARIA treegrid.

  • TreeItem

    ARIA 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