Skip to content

Links and Images: <Short description of your suggestion> #29613

@faisalmohamed

Description

@faisalmohamed

Checks

Describe your suggestion

In the alt attribute section, there is a line that reads "Besides the src attribute, every image element must also have an alt (alternative text) attribute." While it is good practice to include alt attributes, the phrasing "must" indicates that there will be a syntax error if a user does not include this tag. I believe that the phrasing could be modified to indicate that alt tags should be used rather than must since technically there is going to be no error if they are not used. It may also be useful to indicate the benefits of using the alt tag, and emphasizing good practices and some of the issues that arise when not using them (e.g. screen readers reading the content of the img src, no text in place of the image if it fails to load etc.).

Path

Foundations

Lesson Url

https://www.theodinproject.com/lessons/foundations-links-and-images

(Optional) Discord Name

No response

(Optional) Additional Comments

No response

Metadata

Metadata

Assignees

Labels

Status: StaleThis issue/PR has been inactive for over 30 days and will be closed if inactivity continues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions