Skip to content

Remove unused alt-text field in toolkit guides html files: github-issues, use-of-images, 1password (file names abbreviated) #2930

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Overview

As a developer, I want to make sure unused code is removed from the codebase in the guide pages' HTML files, so that

  • time to load the website is as low as possible,
  • it's easier to understand the code, and
  • time to review the code is reduced.

For this issue, we will remove the unused alt-text fields from the guide pages' HTML files.

Details

At the top of each guide pages' HTML file, there is a section containing YAML front matter, which contains variables that can be accessed using Liquid tags. (See the links in the Resources/Instructions section for more information about front matter and Liquid tags.)

In the front matter of each guide pages' HTML file, there are the variables: svg and alt-text. svg field contains the location of a decorative image and alt-text is the alt text associated with the svg image. Currently, alt-text is not used anywhere in our codebase since the images are not used within an img HTML tag and the images are displayed through svg HTML tags.

Moreover, the alt text for all the images should be alt="" and will be programmatically set for all the alt properties associated with each image in issue #2929.

Action Items

Resources/Instructions

Metadata

Metadata

Assignees

Labels

Complexity: SmallTake this type of issues after the successful merge of your second good first issueP-Feature: Toolkithttps://www.hackforla.org/toolkit/role: front endTasks for front end developerssize: 0.5ptCan be done in 3 hours or lessstatus: UpdatedNo blockers and update is ready for review

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions