creativecommons / creativecommons/vocabulary

[Bug] Lot of encoding errors on docs/index.html

Open
#283 4 comments 0 reactions 0 assignees View on GitHub
💻 aspect: code 🛠 goal: fix 🟧 priority: high 🧹 status: ticket work required
Dominant language
HTML
Stars
23
Forks
84
Avg merge
1d 9h
Merged PRs (30d)
3

Description

## Description
There are lot of encoding errors on docs/index.html eg

1. Raw `">" `must be encoded as `>`
2. Expected omitted end tag` ` instead of self-closing element` `
3. `` is missing required` "alt" `attribute
4. trailing whitespace
5. Expected omitted end tag `` instead of self-closing element ``
6. Landmarks must have a non-empty and unique accessible name `(aria-label or aria-labelledby)`
There are also other errors like
`, , , element can not be permited as content under tag ` but these can be ignored as this is intended
## Reproduction
1.install html-validate as global dependency
3. run html-validate on docs/html
2. Observer the error in the terminal for the file

## Expectation
Fixing all these error at once per file

## Environment

- Device: (_ iPhone Xs; laptop)
- OS: (_ iOS 13.5; Fedora 32)
- Browser: (_Safari; Firefox)

## Resolution

- [x] I would be interested in resolving this bug.

Contributor guide

Open the contributing guide

Research direction

Start with docs/index.html and run html-validate on docs/html to review the reported errors. Fix the listed encoding, end-tag, alt-attribute, whitespace, and landmark naming issues while leaving the explicitly intended code nesting errors unchanged. Done means the reported actionable validation errors for the file are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
accessibility, documentation
Issue type
Bug
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.