Skip to content

[a11y] Button color contrast issue for focus / visited link styles #655

@alexgibson

Description

@alexgibson

Description

For links that are styled like buttons, the focus text color is hard to read if the link destination has already been visited.

Steps to reproduce

1.) Visit https://www.mozilla.org/en-US/about/
2.) Click on the "Read our Mission" cta button.
3.) Once on the mission page, press the browser back button.
4.) Now using the keyboard tab to focus on the cta button again.

Expected result

The button text should be readable.

Actual result

The button text has contrast issues:

image

Environment

Firefox Nightly

Metadata

Metadata

Assignees

Labels

Bug 🪲Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions