Skip to content

JAWS virtual cursor is not auto-activated in Console Output region #6884

Closed

Description

@jooyoungseo

System details

RStudio Edition : Server
RStudio Version : 1.3.958
OS Version      : Windows 10 and JAWS 2020 in Chrome
R Version       : any

Steps to reproduce the problem

  1. With JAWS loaded, open RStudio Server in Chrome.
  2. Make sure to enable the following settings under Help / Accessibility / Accessibility Options...
  • Screen reader support (requires restart)
  • Entire page has application role (requires restart)
  1. Press Ctrl+2 to focus in the console.
  2. Type summary(airquality$Ozone) in the console and hit enter.
  3. Press either Alt+Shift+2 or Shift+Tab to focus in "Console Output" area.
  4. Press up/down-arrow keys to see if you would hear anything in the console output.

Describe the problem in detail

When landed in "Console Output" region, JAWS does not auto-switch to virtual cursor unlike NVDA.

This means users have to manually turn back on the virtual cursor by themselves to read the content in the console output.

Users could get easily confused and distracted by this mode-transition behavior.

Describe the behavior you expected

JAWS must auto-switch to virtual cursor in "Console Output" area denoted with role = "document".

Activity

  1. changed the title [-]JAWS virtual cursor is not activated in Console Output region[/-] [+]JAWS virtual cursor is not auto-activated in Console Output region[/+] on May 15, 2020
  2. jooyoungseo commented on May 18, 2020

    @jooyoungseo
    Author

    Alright, I think I have figured this out.

    To cut to the chase, this is a JAWS bug that it does not inherit "document" role from the parent container when focused on the child element.

    I have made the following minimal example to repro this issue:

    <div id = "main" role = "application">
      <div id = "output" role="document" tabindex = "0">
        <div id = "output-content" accesskey="o" tabindex="-1">
          <h1>The Life of Albert Einstein</h1>
          <p>Lorem ipsum...</p>
        </div>
      </div>
    
      <label for="test-textarea">Test Text Area</label>
      <textarea accesskey="t" id="test-textarea" rows="4" cols="50">
        This is text area where you can type anything.
      </textarea>
    </div>

    JAWS does not activate the virtual cursor when focused in the "output-content" area just like our RStudio Server issue.

    You can resolve this issue by re-assigning "document" role for the id = "output-content" div as it is not inherited from its parent div for JAWS.

    In our case, please add role = "document" to the <span> element having "focus-visible" class under the <pre> container.

  3. added a commit that references this issue on May 26, 2020
    fcefe11
  4. added a commit that references this issue on May 26, 2020
    a18084c
  5. added this to the v1.4 milestone on May 26, 2020
  6. jooyoungseo commented on May 26, 2020

    @jooyoungseo
    Author

    @gtritchie, would you mind considering this towards 1.3 patch as well? I think this buggy behavior coming from JAWS is critical and very inconenient for JAWS users. Any advice would be greatly appreciated.

  7. modified the milestones: v1.4, v1.3-patch on May 26, 2020
  8. added a commit that references this issue on May 26, 2020
    38be198
  9. removed their assignment
    on May 26, 2020
  10. gtritchie commented on May 26, 2020

    @gtritchie
    Member

    Ported to 1.3-patch: 38be198

  11. R-Hannibal commented on Jun 2, 2020

    @R-Hannibal

    Hey @jooyoungseo, fix is now in place in the 1.3 patch build (accessible on the Preview Page now).

    If you get the chance will you please let us know if the issue is resolved for you in that build?

  12. jooyoungseo commented on Jun 2, 2020

    @jooyoungseo
    Author

    Hi @R-Hannibal! Gary and I have already confirmed the issue has been resolved in the patch.

  13. R-Hannibal commented on Jun 3, 2020

    @R-Hannibal

    Thanks @jooyoungseo!

  14. gtritchie commented on Jun 3, 2020

    @gtritchie
    Member

    Removing verified: I can confirm this fix is NOT in Water Lily build 1.3.1006.

  15. R-Hannibal commented on Jun 16, 2020

    @R-Hannibal

    @jooyoungseo - it's probably just my natural QA-paranoia speaking, but would you mind re-verifying this issue is still looking fixed in the latest preview build (available HERE)?

    After some fixes failed to merge over successfully to the patch branch originally I want to make absolutely sure we're good before I close. Thank you for the assistance and please let me know if you're busy and I'll figure something else out :)

  16. jooyoungseo commented on Jun 16, 2020

    @jooyoungseo
    Author

    @R-Hannibal, I have just verified this issue has been resolved in v1.3.1023.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions