Skip to content

Support IA2_ROLE_BLOCK_QUOTE.#8577

Merged
michaelDCurran merged 4 commits into
nvaccess:masterfrom
jcsteh:ia2Blockquote
Jul 31, 2018
Merged

Support IA2_ROLE_BLOCK_QUOTE.#8577
michaelDCurran merged 4 commits into
nvaccess:masterfrom
jcsteh:ia2Blockquote

Conversation

@jcsteh

@jcsteh jcsteh commented Jul 31, 2018

Copy link
Copy Markdown
Contributor

Link to issue number:

None.

Summary of the issue:

  1. The new ARIA role="blockquote" is exposed by Firefox 63, but NVDA does not report it.
  2. HTML blockquote in Firefox 63 is reported as "unknown" when using object navigation.

Description of how this pull request fixes the issue:

This PR adds support for the new IA2_ROLE_BLOCK_QUOTE, which is used by Firefox 63.

Testing performed:

  1. Tested that with data:text/html,<div role="blockquote">ARIA</div>, the presence of a block quote is reported in Firefox Nightly in both browse mode and focus mode.
  2. Tested that with data:text/html,<blockquote>HTML</blockquote>, the presence of a block quote is reported in Firefox Nightly in both browse mode and focus mode.
  3. Tested that with data:text/html,<blockquote>HTML</blockquote>, the presence of a block quote is reported in Chrome Canary in both browse mode and focus mode.

Note that Chrome doesn't currently use this role, so the third test verifies backwards compatibility. role="blockquote" is not yet supported in Chrome, so this wasn't tested.

Known issues with pull request:

None.

Change log entry:

Section: New features

- Content marked as a block quote using ARIA (role blockquote) is now supported in Mozilla Firefox 63. (#8577)

This allows the new ARIA role="blockquote" to be supported in Firefox 63.
Also, Firefox 63 exposes HTML blockquote with this role. Without this change, object navigation reports "unknown" for HTML blockquote.
@jcsteh jcsteh requested a review from michaelDCurran July 31, 2018 02:40
michaelDCurran
michaelDCurran previously approved these changes Jul 31, 2018
@michaelDCurran

Copy link
Copy Markdown
Member

@jcsteh: looked good to me. but I also added support for quicknav. Annoyingly I can't ask for your review because it is your pr.

@jcsteh

jcsteh commented Jul 31, 2018 via email

Copy link
Copy Markdown
Contributor Author

@jcsteh

jcsteh commented Jul 31, 2018

Copy link
Copy Markdown
Contributor Author

For what it's worth, the quick nav change looks fine to me.

@michaelDCurran

Copy link
Copy Markdown
Member

Merging with @jcsteh's manual approval.

@michaelDCurran michaelDCurran merged commit 5b80fca into nvaccess:master Jul 31, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.3 milestone Jul 31, 2018

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit late, but it looks good to me!

@jcsteh jcsteh deleted the ia2Blockquote branch October 31, 2018 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants