SSWConsulting / SSWConsulting/SSW.Rules
🐛 GIF images won't get an alt attribute
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 26
- Forks
- 17
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 2
Description
Cc: @tombui99 @adamcogan
Hi @bradystroud
Describe the Bug
I noticed that some of the errors on CodeAuditor for this rule Images - missing alt attribute are because the images are with .gif extension
E.g. https://www.ssw.com.au/rules/how-to-take-feedback-or-criticism
This rule has a gif and a png in its content and only the first one doesn't have an alt attribute.
Expected Behavior
All images under rules should have an alt attribute so they don't show in CodeAuditor's reports
Tasks
- Investigate
- Fix
Screenshots
GIF code compared to PNG code:
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Images - missing alt attribute rule and the cited SSW Rules page, comparing how the GIF and PNG images are handled. Investigate the CodeAuditor report for the GIF case; done means GIF images under rules receive alt attributes and no longer appear in that report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- accessibility
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100