Skip to content

Keyboard nav problems with usermedia element #120

Description

@Coread

There are currently two problems with keyboard navigation and focus with the usermedia element

  1. On Windows, focus is lost (and non-returnable) when closing the permission dialog. I.e. you open the permission dialog with the keyboard, press accept/close and the focus is lost from the window. Pressing tab does not return the focus to the window. This is a major accessibility issue.
  2. On Mac, it is not possible to navigate the permission dialog at all. It must be clicked. This is also an accessibility issue.

This is reproducible with very minimal setup e.g.

  <head>
    <meta http-equiv="origin-trial"
      content="<valid origin trial content for user media>">
  </head>
  <body>
    <usermedia type="camera"></usermedia>
  </body>

Seen on Chrome 150.0.7871.115, Edge 150.0.4078.65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions