Accessibility theory Accessibility API fundamentals We know what assistive technology is, but how does it work? Accessibility APIs –Present user interfaces as information rather than a purely graphical medium, translating an application’s user interface into information that assistive technology can understand –Allow an application’s user interface to be changed by the assistive technology –Provide a common vocabulary we can use when talking about accessibility. 10
Accessibility theory Accessibility API fundamentals Accessible Object Properties –User interface is represented as a hierarchy of accessible objects –Each object has a variety of properties, such as: name: Defines a label. (“Hi, what’s your name?) role: Defines the behavior. (“So, what do you do?”) state: Defines the current condition. (“How are you?”) Accessible Events –Accessibility APIs notify assistive technologies of changes by broadcasting events. 11
Accessibility theory Accessibility API fundamentals A dialog takes place between an application and assistive technology. 12
Accessibility theory Accessible Object Properties Example: a checkbox in a desktop application –role: check box –name: Open new windows in a new tab instead –state: checked 13
Accessibility theory Accessible Object Properties Examples in HTML –role: Last name –name: Last name 14
Accessibility theory Accessible Object Properties Examples in HTML –state: Last name –value: Last name 15
Accessibility theory Accessible Object Properties An accessible name is required and identifies an object. It is short and does not necessarily describe the object. Event date An accessible description is optional text that provides additional information about an object. Event date Must be in mm/dd/yyyy format. 16
Your consent to our cookies if you continue to use this website.