Skip to content

Block Comments Accessibility: block comment sidebar is expanded, but the screen reader doesn't announce it #71675

@jeffpaul

Description

@jeffpaul

Description

From @t-hamano in #71249 (comment):

Click the Comment button in the block toolbar:
The block comment sidebar is expanded, but the screen reader doesn't announce it.

From @joedolson in #71249 (comment):

Choosing the block option to add a comment should be considered as initiating an action, and focus should move to the comment box. I would suggest it should move directly to the comment input, as the clear intended action is to write a comment.

Moving focus would also trigger an announcement, as the new focus location would be announced.

From @adamsilverstein in #71249 (comment):

Choosing the block option to add a comment (or clicking the Comment button in the block toolbar) should move focus directly to the comment input field. (Moving focus would also trigger an announcement, as the new focus location would be announced).

Step-by-step reproduction instructions

.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    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] BugAn existing feature does not function as intended

    Type

    No fields configured for Bug.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions