Skip to content

x/pkgsite: / keyboard shortcut does not work on Firefox #53380

Open
@ian-h-chamberlain

Description

@ian-h-chamberlain

Seems likely related to #41093.

What is the URL of the page with the issue?

From the above linked issue: https://pkg.go.dev/k8s.io/client-go/kubernetes

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0

Screenshot

Screen Shot 2022-06-14 at 4 53 47 PM

What did you do?

Press / key. I also tried setting accessibility.typeaheadfind.manual to false under the Firefox about:config page, in case it was interfering with the keyboard shortcut implementation. Is there another workaround that might enable the / keyboard shortcut functionality?

What did you expect to see?

Search box highlighted as described in the ? keyboard shortcut modal (quickly "Search packages or symbols")

Other websites (e.g. https://github.com or https://go-review.googlesource.com) seem to support their own search bar (without interference from the Firefox-native "quick find"), but pkg.go.dev does not appear to support this.

What did you see instead?

When accessibility.typeaheadfind.manual is set to true, Firefox opens its "quick find" box:
Screen Shot 2022-06-14 at 4 57 40 PM

When it is set to false, nothing happens when I type the / key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions