Enum html5ever_ext::AriaRole
[−]
[src]
pub enum AriaRole { alert, alertdialog, button, checkbox, dialog, gridcell, link, log, marquee, menuitem, menuitemcheckbox, menuitemradio, option, progressbar, radio, scrollbar, slider, spinbutton, status, tab, tabpanel, textbox, timer, tooltip, treeitem, combobox, grid, listbox, menu, menubar, radiogroup, tablist, tree, treegrid, article, columnheader, definition, directory, document, group, heading, img, list, listitem, math, note, presentation, region, row, rowheader, separator, toolbar, application, banner, complementary, contentinfo, form, main, navigation, search, }
Valid values of Aria role
global attribute
See Aria Roles 101 for more.
Navigation roles are probably the most useful:-
- application
- banner
- complementary
- contentinfo
- form
- main
- navigation
- search
Variants
alert
"alert"
alertdialog
"alertdialog"
"button"
checkbox
"checkbox"
dialog
"dialog"
gridcell
"gridcell"
link
"link"
log
"log"
marquee
"marquee"
"menuitem"
"menuitemcheckbox"
"menuitemradio"
option
"option"
progressbar
"progressbar"
radio
"radio"
scrollbar
"scrollbar"
slider
"slider"
"spinbutton"
status
"status"
tab
"tab"
tabpanel
"tabpanel"
textbox
"textbox"
timer
"timer"
tooltip
"tooltip"
treeitem
"treeitem"
combobox
"combobox"
grid
"grid"
listbox
"listbox"
"menu"
"menubar"
radiogroup
"radiogroup"
tablist
"tablist"
tree
"tree"
treegrid
"treegrid"
article
"article"
columnheader
"columnheader"
definition
"definition"
directory
"directory"
document
"document"
group
"group"
heading
"heading"
img
"img"
list
"list"
listitem
"listitem"
math
"math"
note
"note"
presentation
"presentation"
region
"region"
row
"row"
rowheader
"rowheader"
separator
"separator"
toolbar
"toolbar"
application
"application"
"banner"
complementary
"complementary"
contentinfo
"contentinfo"
form
"form"
main
"main"
"navigation"
search
"search"
Trait Implementations
impl Debug for AriaRole
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for AriaRole
[src]
impl Clone for AriaRole
[src]
fn clone(&self) -> AriaRole
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for AriaRole
[src]
fn cmp(&self, __arg_0: &AriaRole) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd for AriaRole
[src]
fn partial_cmp(&self, __arg_0: &AriaRole) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Eq for AriaRole
[src]
impl PartialEq for AriaRole
[src]
fn eq(&self, __arg_0: &AriaRole) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.