Skip to content

Commit

Permalink
fix: Document the role_description node property (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
DataTriny authored Jan 3, 2024
1 parent 54ed036 commit 936fa2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1594,6 +1594,9 @@ string_property_methods! {
///
/// [`name`]: Node::name
(Placeholder, placeholder, set_placeholder, clear_placeholder),
/// An optional string that may override an assistive technology's
/// description of the node's role. Only provide this for custom control types.
/// The value of this property should be in a human-friendly, localized format.
(RoleDescription, role_description, set_role_description, clear_role_description),
/// An optional string that may override an assistive technology's
/// description of the node's state, replacing default strings such as
Expand Down

0 comments on commit 936fa2c

Please sign in to comment.