feat: better a11y support
This commit is contained in:
parent
be4c0a0848
commit
2ecef3c7b2
14 changed files with 144 additions and 16 deletions
|
|
@ -246,6 +246,17 @@ impl<'a, S: AsRef<str>, Message: 'a> Widget<Message, crate::Theme, crate::Render
|
|||
translation,
|
||||
)
|
||||
}
|
||||
|
||||
// #[cfg(feature = "a11y")]
|
||||
// /// get the a11y nodes for the widget
|
||||
// fn a11y_nodes(
|
||||
// &self,
|
||||
// layout: Layout<'_>,
|
||||
// state: &Tree,
|
||||
// p: mouse::Cursor,
|
||||
// ) -> iced_accessibility::A11yTree {
|
||||
// // TODO
|
||||
// }
|
||||
}
|
||||
|
||||
impl<'a, S: AsRef<str>, Message: 'a> From<Dropdown<'a, S, Message>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue