Skip to content

Remove unused alt-hero field from shared-housing-project.md project file #3210

@JessicaLucindaCheng

Description

@JessicaLucindaCheng

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.

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.

Action Items

  • For the file _projects/shared-housing-project.md, remove line 8 for the alt-hero
alt-hero: 'Light-gray background'

Resources/Instructions

File and code links you will need to work on this issue

Information about WCAG

Metadata

Metadata

Assignees

Labels

P-Feature: Project Info and PageA project's detail page (e.g. https://www.hackforla.org/projects/100-automations)good first issueGood for newcomersrole: back end/devOpsTasks for back-end developersrole: 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