-
Notifications
You must be signed in to change notification settings - Fork 126
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-inputtype property for role parity #962
Comments
What roles would support There's an example of each of the input types listed above (except file) in the "Form:" on this example HTML page. The Date and Time related ones are definitely not "just a textbox" because they have all sorts of child controls and extra keyboard behavior (tested in Chrome/FF on Win). Authors would probably want to add that type of thing to their custom controls. So I'm kind of leaning towards 1. dedicated roles. (or maybe a new "input" role that would support |
We already have an abstract That said, I don't think all subclass roles of |
Oh - sorry - I should have looked at the abstract roles. So, current subclasses of (abstract) input role are:
You're right - probably none of those should support the hypothetical input type property, unless it's only for their own type (but that would just add confusion). So it doesn't make sense to make |
Color inputs and datepickers should have their own roles. To me, this attribute makes more sense for the text-y input types ( |
The ARIA Working Group just discussed The full IRC log of that discussion<mck> TOPIC: input type<HarrisSchneiderman> github: https://github.com//issues/962 <mck> jd: Do AT need to know that it is an email input or url input? partial parity is textbox role. <joanie> Create dedicated roles for them (e.g. because input type='color' is a very distinct widget type from input type='date') <joanie> Punt on them until 1.3 because technically the type attribute of input is an HTML attribute, and attribute parity is the main focus for 1.3. <mck> currenlty exposed as object attribut in webkit and gecko <joanie> Add an aria-inputtype (or something like that) property now. <joanie> Some combination of the above. <mck> Don't know what we are doing with date picker and color picker. diff UAs do in different ways. <mck> We could do different roles for each one. <mck> Or, could punt until 1.3 because these come about because of the type attrib on input. <mck> Or, maybe could have roles for some and attrib for some. <joanie> color <joanie> date <joanie> datetime-local <joanie> email <joanie> file <joanie> month <joanie> telephone <joanie> time <mck> Curt: asking if this is complete list. <joanie> url <joanie> week <mck> jd: all but password <mck> jd: already have total parity for input type checkbox and radio. <mck> gives background on password role, so not going to include it. <mck> This is list is either we do not have full parity or it is not password. <mck> bg: sees value in exposing email and url because some kebyoards change keys they expose based on that. <jongund> https://github.com//pull/951 <HarrisSchneiderman> scribe: HarrisSchneiderman |
https://freedomscientific.github.io/VFO-standards-support/html.html indicates that Jaws support for host language input types is still weak. |
We have several options regarding achieving role parity with HTML's
input
element types, including:input type='color'
is a very distinct widget type frominput type='date'
)type
attribute ofinput
is an HTML attribute, and attribute parity is the main focus for 1.3.aria-inputtype
(or something like that) property now.I've filed this issue so we can discuss solution 3.
If we were to create
aria-inputtype
, I think it would be of typetoken
and be one of the following (see notes after the list):color
date
datetime-local
email
file
month
telephone
time
url
week
Notes:
text
(role parity achieved:textbox
) orsearch
(role parity achieved:searchbox
).password
for now. (We can always add it, or some alternative, later if we ever get consensus on it.)The text was updated successfully, but these errors were encountered: