Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update and add more test coverage forno-default-alt-text#84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
khiga8 merged 4 commits intomainfromkh-add-more-coverge
Oct 9, 2023

Conversation

khiga8
Copy link
Contributor

@khiga8khiga8 commentedOct 6, 2023
edited
Loading

In#83, we refactored the rule so we don't rely entirely on Regex for parsing, which was causing the rule to flag images within code blocks. (Edit: Like#84 (comment))

This is a follow-up to that change. I noticed the rule was not correctly flagging the case where there are two images like so:

<img alt="image"/><img alt="image" />

This PR makes a few updates:

  • Addeddetail to include the alt that is being flagged.
  • Add test coverage and support for when there are multiple image tags in one line.
  • Right now, the test helper doesn't account for how there can be multiple violations in one line. I slightly refactored it so it does, and made subsequent updates in files.

@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

khiga8 reacted with laugh emoji

1 similar comment
@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

@khiga8khiga8 marked this pull request as ready for reviewOctober 6, 2023 14:01
@khiga8khiga8 requested a review froma team as acode ownerOctober 6, 2023 14:01
@khiga8khiga8 changed the titleAdd more test coverage forno-alt-textAdd more test coverage forno-default-alt-textOct 6, 2023
@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

1 similar comment
@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

@khiga8khiga8 changed the titleAdd more test coverage forno-default-alt-textUpdate and add more test coverage forno-default-alt-textOct 6, 2023
@github-actions
Copy link

Uh oh!@khiga8, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text atBasic writing and formatting syntax: images on GitHub Docs.

@khiga8khiga8 merged commitc29f004 intomainOct 9, 2023
@khiga8khiga8 deleted the kh-add-more-coverge branchOctober 9, 2023 14:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kendallgassnerkendallgassnerkendallgassner approved these changes

@alexandra-tashjianalexandra-tashjianAwaiting requested review from alexandra-tashjianalexandra-tashjian is a code owner automatically assigned from github/accessibility

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@khiga8@kendallgassner

[8]ページ先頭

©2009-2025 Movatter.jp