widget constant

String const widget

The abstract widget role is a superclass role for some interactive GUI elements and grouping roles. role="widget" should not be confused with widgets roles, such as option, menuitem, and searchbox.

The widget role is a superclass role several abstract interactive GUI roles, including command, composite, input, range, and separator (if focusable), which should not be used by web authors.

The abstract widget role is also a superclass role for some grouping roles which can be used by web authors, including gridcell, row, separator (when not focusable), and tab, which can and should be used when appropriate. When the user navigates to one of these non-abstract roles of widget, keyboard events can switch to an application browsing mode, and pass keyboard events through to the browser.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/widget_role

Implementation

static const String widget = 'widget';