Skip to content

Global command for reporting destination of a link: Consider reporting for the link at the position of the virtual caret / focus rather than for the navigator object #14659

@lukaszgo1

Description

@lukaszgo1

Is your feature request related to a problem? Please describe.

In #14583 @XLTechie added a global commands which allow to report a URL for the link at the position of the navigator object. While this is a huge improvement compared to either having copy the URL to the clipboard or accessing the URL from the status bar from the web browser, the fact that these scripts report destination for the link at the navigator object rather than focus / caret position makes their usage impractical for people who prefer to work with review cursor / navigator object not following focus / caret.

Describe the solution you'd like

Ideally these new scripts should report the URL for the link which is at the position of the virtual caret in browse mode or for the object with focus. For most users there should be no difference in behavior, since by default navigator object follows focus.

Describe alternatives you've considered

Leave the behavior as is.

Additional context

I'm not sure why the navigator object was chosen in the first place, so perhaps there is a good reason which I'm not aware of. Assuming this proposal is accepted we would also have to decide if we need additional scripts for reporting destination of the link at the position of the navigator object - I can't think about any use cases, but perhaps there are some. cc @michaelDCurran and @Qchristensen for additional input, since both of you reviewed the original implementation.
If this proposal is accepted I would be happy to submit an implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.ux

    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