Remove unused alt-text field in toolkit guides html files: github-issues, use-of-images, 1password (file names abbreviated) #2930
Labels
Complexity: Small
Take this type of issues after the successful merge of your second good first issue
P-Feature: Toolkit
https://www.hackforla.org/toolkit/
role: front end
Tasks for front end developers
size: 0.5pt
Can be done in 3 hours or less
Status: Updated
No blockers and update is ready for review
Milestone
Overview
As a developer, I want to make sure unused code is removed from the codebase in the guide pages' HTML files, so that
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
andalt-text
.svg
field contains the location of a decorative image andalt-text
is the alt text associated with thesvg
image. Currently,alt-text
is not used anywhere in our codebase since the images are not used within animg
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
alt-text
field in the following files only:website/_guide-pages/github-issues.html
Line 19 in da95793
website/_guide-pages/responsible-use-of-images-on-opensource-projects.html
Line 10 in da95793
website/_guide-pages/setting-up-1password-on-opensource-project.html
Line 10 in da95793
Resources/Instructions
website/_guide-pages/github-issues.html
Line 19 in da95793
website/_guide-pages/responsible-use-of-images-on-opensource-projects.html
Line 10 in da95793
website/_guide-pages/setting-up-1password-on-opensource-project.html
Line 10 in da95793
The text was updated successfully, but these errors were encountered: