Tidbits
Here are a collection of external articles/fun facts that I either find interesting or are niche and and hard to find.
-
Preventing attacks on a user's history through CSS :visited selectors
Browsers have special handling around the
:visited
selector due to the ways it can be abused to track the user - for instance, by querying the color of a link or detecting how unvisited/visited links influence the layout of the page. David Baron wrote great indepth article regarding the history of this. -
Accessibility in [WebKit]GTK+
When talking about the Linux accessibility APIs, I often saw people use the terms ATK/AT-SPI together, but I was always confused why. This article by Mario Sánchez Prada, an old contributor to the GNOME accessibility project, gives a good high level overview of what ATK and AT-SPI are and how they relate to each other.
-
Core-AAM: Exposing attributes that do not directly map to accessibility API properties
If you're using some kind of tool to debug a browser's accessibility tree, you might notice that assistive technology is able to obtain information that you don't expect. For example, if you're using Accessibility Insights for Windows to debug UIAutomation, you might see that the following HTML:
<input type="checkbox" readonly>
doesn't expose some sort ofReadonly
property in its accessibility node, but NVDA (when forced to use UIAutomation) will read this checkbox as "read only" anyway. This is because sometimes the accessibility APIs themselves don't support certain semantics on certain controls, so browsers expose this information in a different way.