Skip to content

Support Ctrl+A "Select All" to select all text in a page #47897

Closed

Description

@webbedspace

Describe the new feature:
Having a look through #36460, it seems other selection-based features are in the pipeline, but Ctrl+A itself isn't explicitly mentioned. It's a keyboard command that selects everything in the page. While it may seem a bit outdated, it sometimes comes in handy when you want to highlight all the visible text in a page (to determine, e.g. where ::befores and ::afters are). And, of course, when the whole page is just article prose, it can be useful to help copy its full contents into a local text file or something.

Activity

  1. added
    B-feature-tracking
    C-untriaged
    on Sep 8, 2026
  2. jdm commented on Sep 8, 2026

    @jdm
    Member

    My instinct is that we could implement this by adding a VirtualMethods implementation for Document and implementing the handle_event method and updating the selection if the event's preventDefault wasn't called.

  3. added
    A-content/dom
    and removed
    C-untriaged
    on Sep 8, 2026
  4. added a commit that references this issue on Sep 16, 2026
  5. added a commit that references this issue on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domA-inputB-feature-trackingE-candidate-for-mentoring

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions