Skip to content

Playground block: A11Y: Use correct ARIA specification for autocomplete #289

@alexstine

Description

@alexstine

Test page: https://learn.wordpress.org/test/wordpress-playground-block-plugin-test-page/

Currently, the aria-autocomplete="list" value is set for the code editor. According to specification, if this is set, a few different attributes also need to be set.

Docs: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-autocomplete

I find it odd that autocomplete="off" is set as well. Does the editor currently support suggestions? If so, please modify the ARIA attributes to correctly convey to assistive tech what is happening.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions