Support ARIA role='mark' and html mark tag#11436
Conversation
…ROLE_MARK constant.
…ighted) content. Have speech and braille report its start and end within rich text if the report emphasis document formatting option is enabled. Map the IAccessible2 MARK role to the NVDA MARK role. This all means that the mark role will be reported in both Firefox and Chrome.
…ML mark tag with Firefox / Chrome.
…tings, on by default, and have marked content be affected by that option rather than report emphasis.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
feerrenrut
left a comment
There was a problem hiding this comment.
This probably needs a change to the user guide.
|
This will be good, but why "marked content" instead of something shorter like
"marked text"?
…--
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
|
Presumably not just text can be marked. |
… (highlighting). UserGuide: mention the braille abbreviation for marked content.
2a02dd6 to
51dc60e
Compare
feerrenrut
left a comment
There was a problem hiding this comment.
Thanks @michaelDCurran
|
@feerrenrut Did you intend to merge this or are you waiting for another reviewer? |
|
Hi, I just installed NVDA 2020.3 beta 1 and while I think it's great that this option exists, I'd like to ask if this can please be off by default? I'm wondering if a similar thing could be done with the marking option? Thank you very much for your time and I look forward to any input you may have. Sincerely, Brandon Tyson |
|
Hi @btman16 could you please create a new issue for this? |
|
Hi,
Yes, I'd be happy to do a new issue. Would you like it to be a new feature or a bug?
Thanks again for your help,
Brandon
…Sent from my iPhone
On Sep 16, 2020, at 7:55 AM, Reef Turner ***@***.***> wrote:
Hi @btman16 could you please create a new issue for this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
I think this should be described as a feature. However, please do include any example sites where role=mark causes excessive verbosity. Thanks! |
|
Hello,
I just created the new issue.
I haven't done this before, so I'm not sure whether I should link to the new issue here or do something else.
Thanks again for your help,
Brandon
…Sent from my iPhone
On Sep 17, 2020, at 11:34 AM, Reef Turner ***@***.***> wrote:
I think this should be described as a feature. However, please do include any example sites where role=mark causes excessive verbosity. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Prior work: #11436 - Use "highlight" instead of "marked content" for speech. - Use "hlght" instead of "mrkd" for braille 'mark' elements were being reported as "marked content" which is long. Additionally, the standard visual representation (in browsers) of mark is a yellow background, as if the text has been highlighted. Arguably, "highlighted" is a more common phrase in English and more specific to the visual representation in browsers The more general "marked" content could mean many different kinds of markings with varied semantics. With the introduction of "role-description", less common usages of mark can be achieved.
Link to issue number:
None.
Summary of the issue:
Content authors can indicate that content is marked (highlighted) by wrapping the content in an html 'mark' tag, or placing role='mark' on any other tag wrapping the content.
NVDA should report the existence of marked text in speech and braille.
Description of how this pull request fixes the issue:
This pr:
These changes now mean that NVDA will report the existence of marked text in both speech and braille, in Firefox, chrome, Edge (Chromium) and Internet Explorer.
Testing performed:
Using the following test case:
Ensured that NVDA reported the existence of marked text in both speech and braille when report highlight was on, and not when it was off. Tested in Firefox, chrome, Microsoft Edge and Internet Explorer.
Known issues with pull request:
Change log entry:
new features: