-
-
Notifications
You must be signed in to change notification settings - Fork 39.1k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/Improve Accessibilty Practices #9288
Fix/Improve Accessibilty Practices #9288
Conversation
@@ -1691,91 +1695,6 @@ | |||
"challengeType": 0 | |||
}, | |||
{ | |||
"id": "bad87fee1348bd9aedf08818", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
LGTM. |
@@ -990,6 +990,9 @@ | |||
"You can add images to your website by using the <code>img</code> element, and point to a specific image's URL using the <code>src</code> attribute.", | |||
"An example of this would be:", | |||
"<code><img src=\"https://www.your-image-source.com/your-image.jpg\"></code>", | |||
"All <code>img</code> elements MUST have an <code>alt</code> attribute. The text inside an <code>alt</code> attribute is used for screen-readers and is displayed if the image fails to load.", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@Bouncey updated the pull request. |
@@ -1066,6 +1066,9 @@ | |||
"You can add images to your website by using the <code>img</code> element, and point to a specific image's URL using the <code>src</code> attribute.", | |||
"An example of this would be:", | |||
"<code><img src=\"https://www.your-image-source.com/your-image.jpg\"></code>", | |||
"All <code>img</code> elements <strong>must</strong> have an <code>alt</code> attribute. The text inside an <code>alt</code> attribute is used for screen readers to improve accessibility and is displayed if the image fails to load.", | |||
"Lets add an <code>alt</code> attribute to our <code>img</code> example above:", | |||
"<code><img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up. \">", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@Bouncey any updates? |
@Bouncey updated the pull request. |
Please QA |
@Bouncey thanks. |
Pre-Submission Checklist
staging
branch of FreeCodeCamp.fix/
,feature/
, ortranslate/
(e.g.fix/signin-issue
)npm run test-challenges
. Usegit commit --amend
to amend any fixes.Type of Change
Checklist:
Description
Reference issue #4656
Integrated the
alt
attribute throughout all challenges that use theimg
element.Removed the
Add Alt Text to an Image for Accessibility
challenge. It becomes redundant due to this PR.