Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Document the role_description node property #331

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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