Skip to content

Block Comment: Add e2e tests for keyboard navigation #71962

@t-hamano

Description

@t-hamano

We made the comment thread focusable and improved keyboard navigation in #71883

To prevent regressions in this feature improvement, let's add the following e2e test:

  • When a comment thread is focused, screen readers should read an excerpt of the comment.
  • The Enter key should open and close a focused comment.
  • Pressing Esc in a comment thread should close the comment and focus it.
  • Pressing the Resolve Comment button should close the comment and focus it.
  • Pressing the Cancel button should close the comment and focus it.

Metadata

Metadata

Assignees

Labels

[Feature] NotesPhase 3 of the Gutenberg roadmap around block commenting[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] Code QualityIssues or PRs that relate to code quality

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions