mizchi/crater-dom/aom does not have a README file
pub(all) struct AccessibilityNode {
id : String
role : Role
name : String?
description : String?
level : Int?
states : Array[State]
properties : Map[String, String]
bounds : Bounds?
children : Array[AccessibilityNode]
focusable : Bool
tabindex : Int?
source_id : String?
href : String?
tag_name : String?
selector : String?
visible : Bool
ref_id : String?
input_type : String?
placeholder : String?
input_value : String?
required : Bool
text : String?
options : Array[SelectOption]
labelled_by : String?
}fn AccessibilityNode::add_child(self : AccessibilityNode, child : AccessibilityNode) -> AccessibilityNodefn AccessibilityNode::set_focusable(self : AccessibilityNode, focusable : Bool) -> AccessibilityNodepub(all) struct AccessibilityTree {
root : AccessibilityNode
node_map : Map[String, AccessibilityNode]
}fn AccessibilityTree::find_by_role(self : AccessibilityTree, role : Role) -> Array[AccessibilityNode]fn AccessibilityTree::find_by_source_id(self : AccessibilityTree, source_id : String) -> AccessibilityNode?pub(all) struct Bounds {
x : Double
y : Double
width : Double
height : Double
}pub(all) struct FocusManager {
tree : AccessibilityTree
tab_order : Array[FocusableItem]
current_index : Int
}pub(all) struct FocusableItem {
node : AccessibilityNode
document_order : Int
effective_tabindex : Int
}pub(all) enum Role {
Article
Blockquote
Caption
Cell
Code
ColumnHeader
Definition
Deletion
Directory
Document
Emphasis
Feed
Figure
Generic
Group
Heading
Img
Insertion
List
ListItem
Mark
Math
Meter
None
Note
Paragraph
Presentation
Row
RowGroup
RowHeader
Separator
Strong
Subscript
Superscript
Table
Term
Time
Toolbar
Tooltip
Button
Checkbox
Combobox
GridCell
Link
Listbox
Menu
MenuBar
MenuItem
MenuItemCheckbox
MenuItemRadio
Option
Progressbar
Radio
RadioGroup
Scrollbar
SearchBox
Slider
SpinButton
Switch
Tab
TabList
TabPanel
Textbox
Tree
TreeGrid
TreeItem
Application
Banner
Complementary
ContentInfo
Form
Main
Navigation
Region
Search
Alert
AlertDialog
Dialog
Log
Marquee
Status
Timer
Window
HtmlAudio
HtmlVideo
HtmlCanvas
HtmlLabel
HtmlSummary
} derive(Eq, Debug)pub(all) struct RoleMappingContext {
parent_tag : String?
has_accessible_name : Bool
in_sectioning_content : Bool
}pub(all) struct SelectOption {
value : String
label : String
selected : Bool
}fn is_sectioning_content(tag : String) -> BoolDOM, HTML, AOM, and scheduling packages for crater
Dependencies