this post was submitted on 12 Sep 2023
989 points (97.8% liked)
Programmer Humor
19594 readers
414 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Looks kind of simple to me at first glance...
There are four properties in an accessibility tree object:
name
How can we refer to this thing? For instance, a link with the text "Read more" will have "Read more" as its name (find more on how names are computed in the Accessible Name and Description Computation spec).
description
How do we describe this thing, if we want to provide more description beyond the name? The description of a table could explain what kind of information the table contains.
role
What kind of thing is it? For example, is it a button, a nav bar, or a list of items?
state
Does it have a state? Examples include checked or unchecked checkbox states and collapsed or expanded states for the element.
https://developer.mozilla.org/en-US/docs/Glossary/Accessibility_tree
Well, it has been a decade since I've done anything other than dig holes (literally), drive school buses, and work in my shop. :)
Thanks for the jump start. I'll add this to my ever growing list of tech stuff I'd like to tackle in my retirement.