1
0
mirror of https://gitlab.com/redline-racing-division/redline-racing-website.git synced 2025-07-31 18:41:30 +00:00

added legal warning about alt text

This commit is contained in:
2019-10-08 10:17:03 -07:00
parent fd4e71566f
commit 16ff315394

View File

@@ -20,6 +20,8 @@ The file you have to update is: `assets\css\main.css`. This is where almost all
Updating the sponsors is as simple as downloading a nice looking image of the sponsors logo, dropping it into the `./images/sponsors/` directory and editing the file in the `sponsors` directory named `list.json`. Inside the `list.json` file there is a list of companies with some metadata information that is used for building the webpage and telling search engines what the image actually is so its important that all fields are filled out as fully as possible and correctly.
*Make sure alt text is properly filled in. This is information for disabled and blind people to understand what the image is, [and not using it means we could be vulnerable to a lawsuit.](https://www.latimes.com/politics/story/2019-10-07/blind-person-dominos-ada-supreme-court-disabled)*
### Field Descriptions
```json
@@ -27,7 +29,7 @@ Updating the sponsors is as simple as downloading a nice looking image of the sp
"companyName": "Should be the full name of the company",
"company_URL": "Should be the url pointing to the home page of the company unless otherwise specified. Preferably a https:// link.",
"company_image": "images/sponsors/imgName.ext - This can also be a url to an image hosted on another site if the sponsor wants that, otherwise try to keep the file local and inside of the sponsors directory.",
"SponsorLevel": "simply gold, silver, or bronze",
"SponsorLevel": "simply 'gold', 'silver', or 'bronze'",
"altText": "Full name of company and maybe their slogan or something. This describes what the image is to search engines and people that can't see well (more common than you would think). Try to keep this to 2-3 scentences don't write a novel like I am right now."
}
```