creativecommons / creativecommons/vocabulary

[Bug] Encoding Errors on the `archive-page.html`

Open
#286 2 comments 0 reactions 0 assignees View on GitHub
💻 aspect: code 🛠 goal: fix 🟩 priority: low 🧹 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 error on the `archive-page.html` eg

1. Expected omitted end tag` ` instead of self-closing element` `
2. Landmarks must have a non-empty and unique accessible name` (aria-label or aria-labelledby)`
3. ` `is missing recommended `"type" attribute-o-implicit-button-type`
4. ` `is missing required `"alt"` attribute
5. Raw `">"` must be encoded as` ">" `
6. Expected omitted end tag`
` instead of self-closing element `
`

## Reproduction
1. install html-validate as global dependency
2. run` html-validate specimen/contexts/archive-page.html `
3. see the errors

## Expectation
these characters should replaced with the appropriate html entity and adding missing parts to the suggested elements

## Environment

- Device: (_iPhone Xs; laptop)
- OS: (iOS 13.5; Fedora 32)
- Browser: ( Safari; Firefox)
- Version: (13; 73)
- Other info: (display resolution, ease-of-access settings)

## Additional context

## Resolution

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

Contributor guide

Open the contributing guide

Research direction

Start with specimen/contexts/archive-page.html and run html-validate specimen/contexts/archive-page.html to reproduce the listed errors. Update the file for the reported HTML validation and accessibility issues, then rerun html-validate; done means these reported errors no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
accessibility, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.