Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Use AccessibleImage component instead of img in Workers #7639

Merged
merged 1 commit into from
Jan 3, 2019

Conversation

kenjiO
Copy link
Contributor

@kenjiO kenjiO commented Jan 2, 2019

Fixes #7539

Summary of Changes

  • change jsx-a11y/alt-text lint rule from warn to error
  • fix jsx-a11y/alt-text error by using AccesibleImage instead of img

Test Plan

Used inspector to check the rendered output:

Before:
screen shot 2019-01-02 at 12 18 11 pm

After:
screen shot 2019-01-02 at 12 46 23 pm

Note: There may be some other issue with this component because clicking on a worker doesn't seem to do anything. This happens both before and after this change so I think it is unrelated to this change.

@darkwing
Copy link
Contributor

darkwing commented Jan 3, 2019

Awesome! Thank you @kenjiO ! Not sure how I seemed to have missed that.

@darkwing darkwing merged commit b4c6f79 into firefox-devtools:master Jan 3, 2019
jasonLaster pushed a commit to jasonLaster/debugger.html that referenced this pull request Jan 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix jsx-a11y/alt-text warnings raised by jsx-a11y linter.
2 participants