-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider creation of aria-textattribute property for role parity with generic #960
Comments
I think it needs to be a space-separated token list, because it is possible to have "bold italic underline", etc. |
So given |
Wouldn't that be better? |
Not sure. I'm just asking. :) |
Straw poll 1 of 2: We want an attribute. |
See also @aleventhal's: w3c/html-aam#551 |
Straw poll 2: We want to make it a space-separated token list. |
The ARIA Working Group just discussed The full IRC log of that discussion<mck> TOPIC: text attributes<joanie> https://github.com//issues/960 <jamesn> GitHub: https://github.com//issues/960 <mck> Proposal for an aria-textattribute property. <mck> Mostly for generic roles. <joanie> abbreviation <joanie> address <joanie> bold <joanie> italic <joanie> keyboard <joanie> mark <joanie> preformatted <joanie> quote <joanie> strikethrough <joanie> sample <joanie> small <joanie> underline <joanie> variable <mck> Except for abbr and address, these are all about what text looks like <mck> In attempt to reduce number of attribs needed, included those two. <mck> Do we want na attrib to expose this formatting stuff? <mck> gg: what is the alternative? <jamesn> straw poll do we want an attribute to expose at least one of these? <mck> jd: They do not get exposed, exposed through existing platform API text font or format, which would not happen in canvas, for instance. <jamesn> +1 <joanie> +1 <HarrisSchneiderman> +1 <carmacleod> +1 <Glen> +1 <CurtBellew> +1 <melanierichards> +1 <jongund> +1 <mck> +1 <joanie> So given <b><i><u>foo</u></i></b>, we'd just have one generic element? <mck> gg: do not want a generic role where the text run has different attributes on each char in the run <mck> jd: let's say it is a single attrib run. <mck> +1 <jamesn> straw poll 2: is text attribute a space seperated token list (+1) or a single string (-1) <jamesn> +1 <Glen> +1 <HarrisSchneiderman> +1 <joanie> +1 <jongund> 0 <carmacleod> +1 <CurtBellew> +1 |
Is the point of this attribute is to express semantics, or is it to allow presentational tags to 'flavor' the content reported by the AT? I'd rather see parity for the true semantic inline tags such as Re. the IRC log, "Except for abbr and address, these are all about what text looks like". I disagree, |
@brennanyoung ARIA 1.2 already includes the following roles |
Are we still considering this or should we close? |
i was under the impression this wasn't really needed anymore with the way that generic has panned out in implementations. |
We have quite a few generic-role candidates related to formatting that is relevant to the user -- not sufficiently relevant to justify a dedicated role, but still something we may wish to preserve and expose to users through their assistive technologies. In order to expose this formatting, we could have an attribute such as
aria-textattribute
(namesmithing welcome 😄 ).My current thought is that
aria-textattribute
would have the value oftoken
. It would only be supported on the to-be-created "generic" role. And it would contain one of the following values:abbreviation
address
bold
italic
keyboard
mark
preformatted
quote
strikethrough
sample
small
underline
variable
Thoughts?
The text was updated successfully, but these errors were encountered: