pub trait AriaAttributes<Rndr, V>: Sized + AddAnyAttrwhere
V: AttributeValue,{
Show 48 methods
// Provided methods
fn aria_activedescendant(
self,
value: V,
) -> Self::Output<Attr<AriaActivedescendant, V>> { ... }
fn aria_atomic(self, value: V) -> Self::Output<Attr<AriaAtomic, V>> { ... }
fn aria_autocomplete(
self,
value: V,
) -> Self::Output<Attr<AriaAutocomplete, V>> { ... }
fn aria_busy(self, value: V) -> Self::Output<Attr<AriaBusy, V>> { ... }
fn aria_checked(self, value: V) -> Self::Output<Attr<AriaChecked, V>> { ... }
fn aria_colcount(self, value: V) -> Self::Output<Attr<AriaColcount, V>> { ... }
fn aria_colindex(self, value: V) -> Self::Output<Attr<AriaColindex, V>> { ... }
fn aria_colspan(self, value: V) -> Self::Output<Attr<AriaColspan, V>> { ... }
fn aria_controls(self, value: V) -> Self::Output<Attr<AriaControls, V>> { ... }
fn aria_current(self, value: V) -> Self::Output<Attr<AriaCurrent, V>> { ... }
fn aria_describedby(
self,
value: V,
) -> Self::Output<Attr<AriaDescribedby, V>> { ... }
fn aria_description(
self,
value: V,
) -> Self::Output<Attr<AriaDescription, V>> { ... }
fn aria_details(self, value: V) -> Self::Output<Attr<AriaDetails, V>> { ... }
fn aria_disabled(self, value: V) -> Self::Output<Attr<AriaDisabled, V>> { ... }
fn aria_dropeffect(self, value: V) -> Self::Output<Attr<AriaDropeffect, V>> { ... }
fn aria_errormessage(
self,
value: V,
) -> Self::Output<Attr<AriaErrormessage, V>> { ... }
fn aria_expanded(self, value: V) -> Self::Output<Attr<AriaExpanded, V>> { ... }
fn aria_flowto(self, value: V) -> Self::Output<Attr<AriaFlowto, V>> { ... }
fn aria_grabbed(self, value: V) -> Self::Output<Attr<AriaGrabbed, V>> { ... }
fn aria_haspopup(self, value: V) -> Self::Output<Attr<AriaHaspopup, V>> { ... }
fn aria_hidden(self, value: V) -> Self::Output<Attr<AriaHidden, V>> { ... }
fn aria_invalid(self, value: V) -> Self::Output<Attr<AriaInvalid, V>> { ... }
fn aria_keyshortcuts(
self,
value: V,
) -> Self::Output<Attr<AriaKeyshortcuts, V>> { ... }
fn aria_label(self, value: V) -> Self::Output<Attr<AriaLabel, V>> { ... }
fn aria_labelledby(self, value: V) -> Self::Output<Attr<AriaLabelledby, V>> { ... }
fn aria_live(self, value: V) -> Self::Output<Attr<AriaLive, V>> { ... }
fn aria_modal(self, value: V) -> Self::Output<Attr<AriaModal, V>> { ... }
fn aria_multiline(self, value: V) -> Self::Output<Attr<AriaMultiline, V>> { ... }
fn aria_multiselectable(
self,
value: V,
) -> Self::Output<Attr<AriaMultiselectable, V>> { ... }
fn aria_orientation(
self,
value: V,
) -> Self::Output<Attr<AriaOrientation, V>> { ... }
fn aria_owns(self, value: V) -> Self::Output<Attr<AriaOwns, V>> { ... }
fn aria_placeholder(
self,
value: V,
) -> Self::Output<Attr<AriaPlaceholder, V>> { ... }
fn aria_posinset(self, value: V) -> Self::Output<Attr<AriaPosinset, V>> { ... }
fn aria_pressed(self, value: V) -> Self::Output<Attr<AriaPressed, V>> { ... }
fn aria_readonly(self, value: V) -> Self::Output<Attr<AriaReadonly, V>> { ... }
fn aria_relevant(self, value: V) -> Self::Output<Attr<AriaRelevant, V>> { ... }
fn aria_required(self, value: V) -> Self::Output<Attr<AriaRequired, V>> { ... }
fn aria_roledescription(
self,
value: V,
) -> Self::Output<Attr<AriaRoledescription, V>> { ... }
fn aria_rowcount(self, value: V) -> Self::Output<Attr<AriaRowcount, V>> { ... }
fn aria_rowindex(self, value: V) -> Self::Output<Attr<AriaRowindex, V>> { ... }
fn aria_rowspan(self, value: V) -> Self::Output<Attr<AriaRowspan, V>> { ... }
fn aria_selected(self, value: V) -> Self::Output<Attr<AriaSelected, V>> { ... }
fn aria_setsize(self, value: V) -> Self::Output<Attr<AriaSetsize, V>> { ... }
fn aria_sort(self, value: V) -> Self::Output<Attr<AriaSort, V>> { ... }
fn aria_valuemax(self, value: V) -> Self::Output<Attr<AriaValuemax, V>> { ... }
fn aria_valuemin(self, value: V) -> Self::Output<Attr<AriaValuemin, V>> { ... }
fn aria_valuenow(self, value: V) -> Self::Output<Attr<AriaValuenow, V>> { ... }
fn aria_valuetext(self, value: V) -> Self::Output<Attr<AriaValuetext, V>> { ... }
}Expand description
Applies ARIA attributes to an HTML element.
Provided Methods§
Sourcefn aria_activedescendant(
self,
value: V,
) -> Self::Output<Attr<AriaActivedescendant, V>>
fn aria_activedescendant( self, value: V, ) -> Self::Output<Attr<AriaActivedescendant, V>>
Identifies the currently active descendant of a composite widget.
Sourcefn aria_atomic(self, value: V) -> Self::Output<Attr<AriaAtomic, V>>
fn aria_atomic(self, value: V) -> Self::Output<Attr<AriaAtomic, V>>
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Sourcefn aria_autocomplete(self, value: V) -> Self::Output<Attr<AriaAutocomplete, V>>
fn aria_autocomplete(self, value: V) -> Self::Output<Attr<AriaAutocomplete, V>>
Indicates whether user input completion suggestions are provided.
Sourcefn aria_busy(self, value: V) -> Self::Output<Attr<AriaBusy, V>>
fn aria_busy(self, value: V) -> Self::Output<Attr<AriaBusy, V>>
Indicates whether an element, and its subtree, are currently being updated.
Sourcefn aria_checked(self, value: V) -> Self::Output<Attr<AriaChecked, V>>
fn aria_checked(self, value: V) -> Self::Output<Attr<AriaChecked, V>>
Indicates the current “checked” state of checkboxes, radio buttons, and other widgets.
Sourcefn aria_colcount(self, value: V) -> Self::Output<Attr<AriaColcount, V>>
fn aria_colcount(self, value: V) -> Self::Output<Attr<AriaColcount, V>>
Defines the number of columns in a table, grid, or treegrid.
Sourcefn aria_colindex(self, value: V) -> Self::Output<Attr<AriaColindex, V>>
fn aria_colindex(self, value: V) -> Self::Output<Attr<AriaColindex, V>>
Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid.
Sourcefn aria_colspan(self, value: V) -> Self::Output<Attr<AriaColspan, V>>
fn aria_colspan(self, value: V) -> Self::Output<Attr<AriaColspan, V>>
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
Sourcefn aria_controls(self, value: V) -> Self::Output<Attr<AriaControls, V>>
fn aria_controls(self, value: V) -> Self::Output<Attr<AriaControls, V>>
Identifies the element (or elements) whose contents or presence are controlled by the current element.
Sourcefn aria_current(self, value: V) -> Self::Output<Attr<AriaCurrent, V>>
fn aria_current(self, value: V) -> Self::Output<Attr<AriaCurrent, V>>
Indicates the element that represents the current item within a container or set of related elements.
Sourcefn aria_describedby(self, value: V) -> Self::Output<Attr<AriaDescribedby, V>>
fn aria_describedby(self, value: V) -> Self::Output<Attr<AriaDescribedby, V>>
Identifies the element (or elements) that describes the object.
Sourcefn aria_description(self, value: V) -> Self::Output<Attr<AriaDescription, V>>
fn aria_description(self, value: V) -> Self::Output<Attr<AriaDescription, V>>
Defines a string value that describes or annotates the current element.
Sourcefn aria_details(self, value: V) -> Self::Output<Attr<AriaDetails, V>>
fn aria_details(self, value: V) -> Self::Output<Attr<AriaDetails, V>>
Identifies the element that provides additional information related to the object.
Sourcefn aria_disabled(self, value: V) -> Self::Output<Attr<AriaDisabled, V>>
fn aria_disabled(self, value: V) -> Self::Output<Attr<AriaDisabled, V>>
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
Sourcefn aria_dropeffect(self, value: V) -> Self::Output<Attr<AriaDropeffect, V>>
fn aria_dropeffect(self, value: V) -> Self::Output<Attr<AriaDropeffect, V>>
Indicates what functions can be performed when a dragged object is released on the drop target.
Sourcefn aria_errormessage(self, value: V) -> Self::Output<Attr<AriaErrormessage, V>>
fn aria_errormessage(self, value: V) -> Self::Output<Attr<AriaErrormessage, V>>
Defines the element that provides an error message related to the object.
Sourcefn aria_expanded(self, value: V) -> Self::Output<Attr<AriaExpanded, V>>
fn aria_expanded(self, value: V) -> Self::Output<Attr<AriaExpanded, V>>
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Sourcefn aria_flowto(self, value: V) -> Self::Output<Attr<AriaFlowto, V>>
fn aria_flowto(self, value: V) -> Self::Output<Attr<AriaFlowto, V>>
Identifies the next element (or elements) in an alternate reading order of content.
Sourcefn aria_grabbed(self, value: V) -> Self::Output<Attr<AriaGrabbed, V>>
fn aria_grabbed(self, value: V) -> Self::Output<Attr<AriaGrabbed, V>>
Indicates an element’s “grabbed” state in a drag-and-drop operation.
Sourcefn aria_haspopup(self, value: V) -> Self::Output<Attr<AriaHaspopup, V>>
fn aria_haspopup(self, value: V) -> Self::Output<Attr<AriaHaspopup, V>>
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Indicates whether the element is exposed to an accessibility API.
Sourcefn aria_invalid(self, value: V) -> Self::Output<Attr<AriaInvalid, V>>
fn aria_invalid(self, value: V) -> Self::Output<Attr<AriaInvalid, V>>
Indicates the entered value does not conform to the format expected by the application.
Sourcefn aria_keyshortcuts(self, value: V) -> Self::Output<Attr<AriaKeyshortcuts, V>>
fn aria_keyshortcuts(self, value: V) -> Self::Output<Attr<AriaKeyshortcuts, V>>
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Sourcefn aria_label(self, value: V) -> Self::Output<Attr<AriaLabel, V>>
fn aria_label(self, value: V) -> Self::Output<Attr<AriaLabel, V>>
Defines a string value that labels the current element.
Sourcefn aria_labelledby(self, value: V) -> Self::Output<Attr<AriaLabelledby, V>>
fn aria_labelledby(self, value: V) -> Self::Output<Attr<AriaLabelledby, V>>
Identifies the element (or elements) that labels the current element.
Sourcefn aria_live(self, value: V) -> Self::Output<Attr<AriaLive, V>>
fn aria_live(self, value: V) -> Self::Output<Attr<AriaLive, V>>
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Sourcefn aria_modal(self, value: V) -> Self::Output<Attr<AriaModal, V>>
fn aria_modal(self, value: V) -> Self::Output<Attr<AriaModal, V>>
Indicates whether an element is modal when displayed.
Sourcefn aria_multiline(self, value: V) -> Self::Output<Attr<AriaMultiline, V>>
fn aria_multiline(self, value: V) -> Self::Output<Attr<AriaMultiline, V>>
Indicates whether a text box accepts multiple lines of input or only a single line.
Sourcefn aria_multiselectable(
self,
value: V,
) -> Self::Output<Attr<AriaMultiselectable, V>>
fn aria_multiselectable( self, value: V, ) -> Self::Output<Attr<AriaMultiselectable, V>>
Indicates that the user may select more than one item from the current selectable descendants.
Sourcefn aria_orientation(self, value: V) -> Self::Output<Attr<AriaOrientation, V>>
fn aria_orientation(self, value: V) -> Self::Output<Attr<AriaOrientation, V>>
Indicates whether the element’s orientation is horizontal, vertical, or undefined.
Sourcefn aria_owns(self, value: V) -> Self::Output<Attr<AriaOwns, V>>
fn aria_owns(self, value: V) -> Self::Output<Attr<AriaOwns, V>>
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
Sourcefn aria_placeholder(self, value: V) -> Self::Output<Attr<AriaPlaceholder, V>>
fn aria_placeholder(self, value: V) -> Self::Output<Attr<AriaPlaceholder, V>>
Defines a short hint (a word or short phrase) intended to help the user with data entry when the control has no value.
Sourcefn aria_posinset(self, value: V) -> Self::Output<Attr<AriaPosinset, V>>
fn aria_posinset(self, value: V) -> Self::Output<Attr<AriaPosinset, V>>
Defines an element’s number or position in the current set of listitems or treeitems.
Sourcefn aria_pressed(self, value: V) -> Self::Output<Attr<AriaPressed, V>>
fn aria_pressed(self, value: V) -> Self::Output<Attr<AriaPressed, V>>
Indicates the current “pressed” state of toggle buttons.
Sourcefn aria_readonly(self, value: V) -> Self::Output<Attr<AriaReadonly, V>>
fn aria_readonly(self, value: V) -> Self::Output<Attr<AriaReadonly, V>>
Indicates that the element is not editable, but is otherwise operable.
Sourcefn aria_relevant(self, value: V) -> Self::Output<Attr<AriaRelevant, V>>
fn aria_relevant(self, value: V) -> Self::Output<Attr<AriaRelevant, V>>
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
Sourcefn aria_required(self, value: V) -> Self::Output<Attr<AriaRequired, V>>
fn aria_required(self, value: V) -> Self::Output<Attr<AriaRequired, V>>
Indicates that user input is required on the element before a form may be submitted.
Sourcefn aria_roledescription(
self,
value: V,
) -> Self::Output<Attr<AriaRoledescription, V>>
fn aria_roledescription( self, value: V, ) -> Self::Output<Attr<AriaRoledescription, V>>
Defines a human-readable, author-localized description for the role of an element.
Sourcefn aria_rowcount(self, value: V) -> Self::Output<Attr<AriaRowcount, V>>
fn aria_rowcount(self, value: V) -> Self::Output<Attr<AriaRowcount, V>>
Defines the total number of rows in a table, grid, or treegrid.
Sourcefn aria_rowindex(self, value: V) -> Self::Output<Attr<AriaRowindex, V>>
fn aria_rowindex(self, value: V) -> Self::Output<Attr<AriaRowindex, V>>
Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid.
Sourcefn aria_rowspan(self, value: V) -> Self::Output<Attr<AriaRowspan, V>>
fn aria_rowspan(self, value: V) -> Self::Output<Attr<AriaRowspan, V>>
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
Sourcefn aria_selected(self, value: V) -> Self::Output<Attr<AriaSelected, V>>
fn aria_selected(self, value: V) -> Self::Output<Attr<AriaSelected, V>>
Indicates the current “selected” state of various widgets.
Sourcefn aria_setsize(self, value: V) -> Self::Output<Attr<AriaSetsize, V>>
fn aria_setsize(self, value: V) -> Self::Output<Attr<AriaSetsize, V>>
Defines the number of items in the current set of listitems or treeitems.
Sourcefn aria_sort(self, value: V) -> Self::Output<Attr<AriaSort, V>>
fn aria_sort(self, value: V) -> Self::Output<Attr<AriaSort, V>>
Indicates if items in a table or grid are sorted in ascending or descending order.
Sourcefn aria_valuemax(self, value: V) -> Self::Output<Attr<AriaValuemax, V>>
fn aria_valuemax(self, value: V) -> Self::Output<Attr<AriaValuemax, V>>
Defines the maximum allowed value for a range widget.
Sourcefn aria_valuemin(self, value: V) -> Self::Output<Attr<AriaValuemin, V>>
fn aria_valuemin(self, value: V) -> Self::Output<Attr<AriaValuemin, V>>
Defines the minimum allowed value for a range widget.
Sourcefn aria_valuenow(self, value: V) -> Self::Output<Attr<AriaValuenow, V>>
fn aria_valuenow(self, value: V) -> Self::Output<Attr<AriaValuenow, V>>
Defines the current value for a range widget.
Sourcefn aria_valuetext(self, value: V) -> Self::Output<Attr<AriaValuetext, V>>
fn aria_valuetext(self, value: V) -> Self::Output<Attr<AriaValuetext, V>>
Defines the human-readable text alternative of aria-valuenow for a range widget.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.