Skip to content

Remove unused alt-hero in project md files #2722

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

Dependency

Overview

As a developer, I want to make sure unused code is removed from the codebase in project cards 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 epic, we will write issues to remove the alt-hero field in the project md files, which will be added as Dependency items above.

Details

In project md files, image-hero is a decorative background image and alt-hero is the alt text associated with image-hero. However, alt-hero text is not used anywhere in our codebase since the image-hero is used as an SCSS background image.

Moreover, if the image-hero were to be used in an img HTML tag in the future, the alt text for all the image-hero images would be alt="", which could be set programmatically for all the alt properties associated with each image-hero.

Developers will write issues for this epic by following the "Instructions for Developers" in the Instructions tab of the HfLA-Website: Remove unused alt-hero field from project mds Google Sheet and using the Project md file: Removing unused alt-hero field issue template. After an issue is created, the technical lead(s) will review each issue by following the "Instructions for Technical Leads" in the Instructions tab of the HfLA-Website: Remove unused alt-hero field from project mds Google Sheet.

Action Items

  • Write issues for this epic. See this spreadsheet HfLA-Website: Remove unused alt-hero field from project mds Google Sheet and the issues that need to be written.
  • Once all the issues in the Dependency section are checked off and closed, use the search function in your IDE to check the following for the .md files in _projects:
    • There is no alt-hero: field in any of the .md files in _projects. (If you are using VSCode as your IDE, you can search for alt-hero: and restrict the search by filling in the "files to include" field with _projects. Other IDEs may have similar search capabilities.)
      • If you find any alt-hero: fields in any of the .md files in _projects, list the .md file(s) you found them in in a new comment below.
      • If you find no alt-hero: fields in any of the .md files in _projects, then in a new comment below say you found no alt-hero: fields and close the issue.

Resources/Instructions

Accessibility information

Metadata

Metadata

Assignees

Labels

Complexity: SmallTake this type of issues after the successful merge of your second good first issueP-Feature: Project Info and PageA project's detail page (e.g. https://www.hackforla.org/projects/100-automations)epicrole: front endTasks for front end developerssize: 0.25ptCan be done in 0.5 to 1.5 hours

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions