Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 0 additions & 5 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,8 @@ pub enum Role {
ContentInfo,
Definition,
DescriptionList,
DescriptionListDetail,
DescriptionListTerm,
Details,
Dialog,
Directory,
DisclosureTriangle,
Document,
EmbeddedObject,
Expand Down Expand Up @@ -167,8 +164,6 @@ pub enum Role {
Navigation,
Note,
PluginObject,
Portal,
Pre,
ProgressIndicator,
RadioGroup,
Region,
Expand Down
3 changes: 0 additions & 3 deletions consumer/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,6 @@ impl<'a> Node<'a> {
Role::Article
| Role::Definition
| Role::DescriptionList
| Role::DescriptionListTerm
| Role::Directory
| Role::Document
| Role::GraphicsDocument
| Role::Image
Expand Down Expand Up @@ -752,7 +750,6 @@ impl<'a> Node<'a> {
| Role::ListBoxOption
| Role::MenuListOption
| Role::RadioButton
| Role::DescriptionListTerm
| Role::Term
)
}
Expand Down
1 change: 0 additions & 1 deletion platforms/android/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ accesskit = { version = "0.21.1", path = "../../common" }
accesskit_consumer = { version = "0.31.0", path = "../../consumer" }
jni = "0.21.1"
log = "0.4.17"

6 changes: 1 addition & 5 deletions platforms/atspi-common/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,10 @@ impl NodeWrapper<'_> {
Role::ContentDeletion => AtspiRole::ContentDeletion,
Role::ContentInsertion => AtspiRole::ContentInsertion,
Role::ContentInfo | Role::Footer => AtspiRole::Landmark,
Role::Definition | Role::DescriptionListDetail => AtspiRole::DescriptionValue,
Role::Definition => AtspiRole::DescriptionValue,
Role::DescriptionList => AtspiRole::DescriptionList,
Role::DescriptionListTerm => AtspiRole::DescriptionTerm,
Role::Details => AtspiRole::Panel,
Role::Dialog => AtspiRole::Dialog,
Role::Directory => AtspiRole::List,
Role::DisclosureTriangle => AtspiRole::ToggleButton,
Role::DocCover => AtspiRole::Image,
Role::DocBackLink | Role::DocBiblioRef | Role::DocGlossRef | Role::DocNoteRef => {
Expand Down Expand Up @@ -202,8 +200,6 @@ impl NodeWrapper<'_> {
Role::PdfActionableHighlight => AtspiRole::Button,
Role::PdfRoot => AtspiRole::DocumentFrame,
Role::PluginObject => AtspiRole::Embedded,
Role::Portal => AtspiRole::Button,
Role::Pre => AtspiRole::Section,
Role::ProgressIndicator => AtspiRole::ProgressBar,
Role::RadioButton => AtspiRole::RadioButton,
Role::RadioGroup => AtspiRole::Panel,
Expand Down
5 changes: 0 additions & 5 deletions platforms/macos/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,8 @@ fn ns_role(node: &Node) -> &'static NSAccessibilityRole {
Role::ContentInfo => NSAccessibilityGroupRole,
Role::Definition => NSAccessibilityGroupRole,
Role::DescriptionList => NSAccessibilityListRole,
Role::DescriptionListDetail => NSAccessibilityGroupRole,
Role::DescriptionListTerm => NSAccessibilityGroupRole,
Role::Details => NSAccessibilityGroupRole,
Role::Dialog => NSAccessibilityGroupRole,
Role::Directory => NSAccessibilityListRole,
Role::DisclosureTriangle => NSAccessibilityButtonRole,
Role::Document => NSAccessibilityGroupRole,
Role::EmbeddedObject => NSAccessibilityGroupRole,
Expand Down Expand Up @@ -145,8 +142,6 @@ fn ns_role(node: &Node) -> &'static NSAccessibilityRole {
Role::Navigation => NSAccessibilityGroupRole,
Role::Note => NSAccessibilityGroupRole,
Role::PluginObject => NSAccessibilityGroupRole,
Role::Portal => NSAccessibilityButtonRole,
Role::Pre => NSAccessibilityGroupRole,
Role::ProgressIndicator => NSAccessibilityProgressIndicatorRole,
Role::RadioGroup => NSAccessibilityRadioGroupRole,
Role::Region => NSAccessibilityGroupRole,
Expand Down
1 change: 0 additions & 1 deletion platforms/unix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ tokio-stream = { version = "0.1.14", optional = true }
version = "1.32.0"
optional = true
features = ["macros", "net", "rt", "sync", "time"]

5 changes: 0 additions & 5 deletions platforms/windows/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,8 @@ impl NodeWrapper<'_> {
Role::ContentInfo => UIA_GroupControlTypeId,
Role::Definition => UIA_GroupControlTypeId,
Role::DescriptionList => UIA_ListControlTypeId,
Role::DescriptionListDetail => UIA_TextControlTypeId,
Role::DescriptionListTerm => UIA_ListItemControlTypeId,
Role::Details => UIA_GroupControlTypeId,
Role::Dialog => UIA_PaneControlTypeId,
Role::Directory => UIA_ListControlTypeId,
Role::DisclosureTriangle => UIA_ButtonControlTypeId,
Role::Document | Role::Terminal => UIA_DocumentControlTypeId,
Role::EmbeddedObject => UIA_PaneControlTypeId,
Expand Down Expand Up @@ -158,8 +155,6 @@ impl NodeWrapper<'_> {
Role::Navigation => UIA_GroupControlTypeId,
Role::Note => UIA_GroupControlTypeId,
Role::PluginObject => UIA_GroupControlTypeId,
Role::Portal => UIA_ButtonControlTypeId,
Role::Pre => UIA_GroupControlTypeId,
Role::ProgressIndicator => UIA_ProgressBarControlTypeId,
Role::RadioGroup => UIA_GroupControlTypeId,
Role::Region => UIA_GroupControlTypeId,
Expand Down
1 change: 1 addition & 0 deletions platforms/winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ softbuffer = { version = "0.4.0", default-features = false, features = [
"wayland",
"wayland-dlopen",
] }