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 for aria-braille* properties #11829

Open
pkra opened this issue Nov 11, 2020 · 7 comments
Open

support for aria-braille* properties #11829

pkra opened this issue Nov 11, 2020 · 7 comments
Labels
ARIA component/braille feature p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.

Comments

@pkra
Copy link

pkra commented Nov 11, 2020

The ARIA Editors' Draft proposes the aria-braillelabel and aria-brailleroledescription property (as part of ARIA 1.3), see also https://w3c.github.io/aria/#aria-braillelabel, https://w3c.github.io/aria/#aria-brailleroledescription.

Would NVDA consider support for these properties?

@pkra
Copy link
Author

pkra commented Nov 11, 2020

Ping @michaelDCurran and @feerrenrut who were at the AIM workshop in 2018 where the idea started out.

Somewhat related: #8340 (even though the input property is still not covered by the ARIA Editors' draft).

@LeonarddeR
Copy link
Collaborator

Implementing brailleroledescription should be not that difficult. As far as I know, there is no such thing as a braille name in NVDA now, but that could be pretty helpful as well.

@pkra
Copy link
Author

pkra commented Nov 11, 2020

Thank you for the positive comment, @LeonarddeR. If there are any other communication channels for NVDA where I should post this, please let me know.

@pkra
Copy link
Author

pkra commented Nov 3, 2022

Just a quick follow up.

The new aria braille properties are still on track for aria 1.3. There's now support in Gecko, WebKit and Chromium. Orca also has support. It would be great to get support in NVDA.

See also the overview issue w3c/aria#1331 for more links to various bits and pieces.

@CoBC
Copy link

CoBC commented Jan 7, 2023

I also approved this proposal. I find this aria peoperties very helpful to shorten some names in Braille for example.

seanbudd pushed a commit that referenced this issue Mar 30, 2023
partial fix for #11829

Summary of the issue:
ARIA 1.3 adds a aria-brailleroledescription attribute, which allows the web author to specify a string representation for an element's role, specific to Braille.
For example:

<button aria-roledescription="planet" aria-brailleroledescription="plnt">Saturn</button>
A button whos spoken role description will be "planet" but in Braille it will be shown as the abreviated "plnt".

Description of user facing changes
NVDA will honor the aria-brailleroledescription attribute if set by the web author, when presenting web content on a braille display.

Description of development approach
The internal work to support custom braille role text had already been added to NVDAObjects and controlFields to allow for Braille abbreviations for landmarks. this PR:

Implements roleTextBraille on the IA2Web NVDAObject, exposing the content of the brailleroledescription IAccessible2 attribute if available
In the Gecko ia2 virtualBuffer, normalizes the brailleroledescription IAccessible2 attribute to the roleTextBraille NvDA attribute on controlFields.
@BeatriceFeltre

This comment was marked as duplicate.

@BeatriceFeltre

This comment was marked as duplicate.

@seanbudd seanbudd added triaged Has been triaged, issue is waiting for implementation. p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority labels Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARIA component/braille feature p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
Development

No branches or pull requests

6 participants