[Accessibility-ia2] Mapping of aria-errormessage for ATK/AT-SPI2 and IA2
Joanmarie Diggs
jdiggs at igalia.com
Tue Feb 23 19:42:02 UTC 2016
Hey all.
We need to map aria-errormessage on the various platforms, including
ATK/AT-SPI2 and IA2. Given the ongoing desire for cross-platform
homogeneity, I'll toss out what I was thinking for my platform for
consideration by IA2 folks.
Proposal: Connect the message to the element with the error via the
RELATION_DESCRIBED_BY/RELATION_DESCRIPTION_FOR relation pair and expose
"errormessage" as an object attribute.
Rationale:
1. An error message provides descriptive information about an object.
2. Exposure via a relation eliminates the need to tree dive to find
the error.
3. Accessible relations can have multiple targets, so this exposure
does not stomp on a non-error description while at the same time
eliminating the need for each platform to create a new relation
type(s).
4. The object attribute is needed to identify which target (if any)
is an error message.
Thoughts?
--joanie
More information about the Accessibility-ia2
mailing list