You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In w3c/aria#1620 (comment)@cookiecrook proposes 3 <ruby> annotation types. In addition, there can be the absence of a type, which is currently the case of all ruby markup on the web. Software heuristics could be used when a type is not specified, to attempt to guess the type.
This proposal builds on what has been proposed for typeless ruby in #351 and #352. (Ruby would be expose as a description with a description-from attribute. When the Ruby type is unknown, "description-from" could be set to "ruby-annotation"). Chrome currently already implements this.
If ruby types become standardized, and the Ruby type is known, "description-from" could have a suffix that matches one of the type values in @cookiecrook's proposal, e.g. "ruby-annotation-phonetic-required", "ruby-annotation-phonetic-optional", "ruby-annotation-complementary". Having the default case use plain "ruby-annotation" would allow ATs to recognize that the author has not supplied a type, and allow a heuristic to be supplied.
The text was updated successfully, but these errors were encountered:
aleventhal
changed the title
Future proposal in case where <rt> types become standardized
Proposed API mappings for typed ruby proposal
Oct 30, 2021
To be clear, the linked comment in w3c/aria#1620 (comment) was a brainstorm, not a fully fleshed out proposal. Please read the linked thread for full context.
In w3c/aria#1620 (comment) @cookiecrook proposes 3
<ruby>
annotation types. In addition, there can be the absence of a type, which is currently the case of all ruby markup on the web. Software heuristics could be used when a type is not specified, to attempt to guess the type.This proposal builds on what has been proposed for typeless ruby in #351 and #352. (Ruby would be expose as a description with a description-from attribute. When the Ruby type is unknown, "description-from" could be set to "ruby-annotation"). Chrome currently already implements this.
If ruby types become standardized, and the Ruby type is known, "description-from" could have a suffix that matches one of the type values in @cookiecrook's proposal, e.g. "ruby-annotation-phonetic-required", "ruby-annotation-phonetic-optional", "ruby-annotation-complementary". Having the default case use plain "ruby-annotation" would allow ATs to recognize that the author has not supplied a type, and allow a heuristic to be supplied.
The text was updated successfully, but these errors were encountered: