Repository navigation
Describe example images with alt text - #72
Open
DawidRobertNowak wants to merge 1 commit into
Open
DawidRobertNowak wants to merge 1 commit into
DawidRobertNowak wants to merge 1 commit into
Conversation
Replace the generic "example" alt text of the example images on the Background, Border, Debug area, Rounded corners, Shadow, Text basics and Text style pages with a description of what each image shows. The example image styling was tied to img[alt=example]; the images now carry an example class and the stylesheet matches both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the generic
examplealt text of the 46 example images on seven API reference pages (Background, Border, Debug area, Rounded corners, Shadow, Text basics, Text style) with a short description of what each image shows. This helps screen readers and gives AI assistants reading the page text the information that only the image carries.The example image styling (border, shadow, rounded corners) was tied to
img[alt=example]. The images now carry anexampleclass ({.example}), and the stylesheet matches both, so pages that still use![example]look the same.Each description was checked against the image currently on the page. The docs build passes.