Skip to content
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

Support aria-braille-input to allow web authors to accept unicode braille input #8340

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelDCurran
Copy link
Member

@michaelDCurran michaelDCurran commented May 29, 2018

Link to issue number:

None.

Summary of the issue:

Web authors have asked for a way to have their controls accept raw braille input. An example where this would be useful would be an online math editor that could allow the user to directly type in Nemeth braille input on a Braille display.

Description of how this pull request fixes the issue:

A new aria-braille-input attribute is going to be proposed to the ARIA working group for consideration (see w3c/aria#771). NVDA looks for this property in all web browsers, and maps it to a new requiresUnicodeBrailleInput property on NVDAObjects.
If this property is true on the control with focus, then NVDA will automatically use the unicode braille table for braille input rather than the currently configured input braille table.

Testing performed:

Testcase: https://sinabahram.github.io/aria-playground/BrailleInput.html
The first control takes normal text, the second control takes braille input (as aria-braille-input has a value of "true").
Tested in Firefox and Internet Explorer.

Known issues with pull request:

Although NVDA supports this property in IA2, MSHTML and UIA, it does not currently work in Edge or Chrome due to these browsers not exposing unknown ARIA properties.

Change log entry:

…raw unicode braille dots from a braille display, by specifying aria-brailleInput="true".

Although support for all browsers has been added to NVDA, this does not yet work in Edge/Chrome as those browsers do not currently let through unknown ARIA properties.
@josephsl
Copy link
Collaborator

josephsl commented May 29, 2018 via email

@LeonarddeR
Copy link
Collaborator

Is there a particular reason why you did not yet map this to a state, or even a different role?

@michaelDCurran
Copy link
Member Author

michaelDCurran commented May 29, 2018 via email

@jcsteh
Copy link
Contributor

jcsteh commented Jun 8, 2018

At the end of the day, this is still essentially a text box, so I'd suggest a new role isn't appropriate. This is more like HTML <input type="email">, which is a text input specific to email addresses. We're just saying this is a text input specific to Unicode braille. Thus, I've proposed aria-text-input-type="braille".

@feerrenrut
Copy link
Contributor

I think we might need to be careful here, at the most basic level we are talking about getting raw, untranslated braille input from the screenreader. This may be to a text input field or some other element receiving the input. At a low level its about disabling translation of the dots that are input by the user, and says nothing about how this may be displayed to the user in the web page.

@jcsteh
Copy link
Contributor

jcsteh commented Jun 8, 2018 via email

@feerrenrut
Copy link
Contributor

I'm worried about conflating the semantic information for the final value e.g. "email" with the method used to convey it e.g. "braille". What about handwriting, speech, or sign?

@jcsteh
Copy link
Contributor

jcsteh commented Jun 8, 2018 via email

@feerrenrut
Copy link
Contributor

I still think aria-input-type="braille" might allow for less future attribute clutter than aria-braille-input="true".

Absolutely with you on that one.

@dpy013
Copy link
Contributor

dpy013 commented Feb 2, 2019

Is this PR still going on?

@michaelDCurran
Copy link
Member Author

michaelDCurran commented Feb 3, 2019 via email

@LeonarddeR
Copy link
Collaborator

@michaelDCurran Is this still expected to be used at some point?

@dpy013
Copy link
Contributor

dpy013 commented Oct 1, 2019

@michaelDCurran Is this still expected to be used at some point?

This function is quite good, I hope to merge to master.
thank

@michaelDCurran
Copy link
Member Author

Again, we will only do something about this if it becomes an ARIA standard. This was a proof of concept.

@LeonarddeR
Copy link
Collaborator

Coming across this again, given how we handled pr's like this recently, wouldn't it be better to close this and revisit it when this is ever needed again? Or, at least, make it a draft given the proof of concept state of the work?

@michaelDCurran michaelDCurran marked this pull request as draft October 12, 2020 01:43
@michaelDCurran
Copy link
Member Author

@LeonarddeR I agree. It is now a draft.

@pkra
Copy link

pkra commented Nov 12, 2020

I'm trying to revive this idea on the ARIA end (hoping we can still get this into ARIA 1.3) and I've extracted part of this thread at w3c/aria#771 (comment). If you could add or correct what I wrote over there, it would be most helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants