Skip to content

Block level links not triggered with 'automatically set system focus to focussable elements' off #8528

@hills001

Description

@hills001

Edit:
Description has been updated with information from comments:

Steps to reproduce:

Using the example page at: https://nvda-firefox-block-level-links-8528.netlify.app/.

In browse mode, tab to each of the example links and press 'Enter' key to activate. With 'automatically set system focus to focussable elements' set it to off some don't activate.

Settings:

  • 'Enable browse mode on page load'
  • 'Automatic focus mode on focus changes' enabled
  • 'Automatic focus mode for caret movement' disabled.
  • Use NVDA+ 8 to turn toggle 'automatically set system focus to focussable elements'. Set it to off.

Steps:

  • Open the demo page
  • Ensure focus is not on a link on the page already: press shift+tab to land on the address bar
    • You now have to press F6 to get back to the document, but we can be confident focus is not on a link.
  • Confirm virtual cursor is on first heading: press numpad+8 to hear "heading level 1 Example block level links"
  • Press NVDA+space to once or twice to confirm browse mode is enabled.
  • Press Tab to any of the three links and press enter, new page does not open
  • Confirm that the virtual cursor follows focus: press numpad+8 to hear the link "visited link heading level 3 Example 1"
  • Press enter to activate.

Actual behavior:

Firefox

With 'automatically set system focus to focussable elements' off (NVDA+ 8)
The first and second example links are not triggered by pressing Enter.

Chrome

With 'automatically set system focus to focussable elements' off (NVDA+ 8)
The first and second example links are not triggered by pressing Enter.

Expected behavior:

Enter should activate the link.

System configuration:

NVDA Installed/portable/running from source:

Installed

NVDA version:

2018.1.1

Windows version:

10.0.15063 Build 15063

Name and version of other software in use when reproducing the issue:

Firefox 61.0.1

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA?

No

Other notes:

Looking at the NVDA logs, I can see these differences:

--IE11---
name: u'A third level heading\r\nSome sub text'
role: ROLE_LINK
states: STATE_FOCUSABLE, STATE_LINKED, STATE_FOCUSED
isFocusable: True
hasFocus: True

--FIREFOX---
name: u'A third level heading'
role: ROLE_HEADING
states:
isFocusable: False
hasFocus: False

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions