这是indexloc提供的服务,不要输入任何密码
Skip to content

[amp story page attachment] CTA is not tab-able #37933

@processprocess

Description

@processprocess

Description

Inline attachment CTAs are currently not tab-able.
This breaks keyboard a11y.

A couple approaches to making it visible to the a11y dom tree:

  1. Adding an empty href attribute.
  2. Changing it to a button instead of an anchor element.

Screen Shot 2022-03-22 at 10 50 52 AM

Reproduction Steps

  1. Open a story with an attachment such as examples/amp-story/attachment.html on the dev server.
  2. press tab to cycle through tab-able elements.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions