Codeinwp / Codeinwp/wp-menu-icons

Invalid markup W3C error during validation

Open
#128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
82
Forks
25
Avg merge
1d 16h
Merged PRs (30d)
3

Description

File includes/front.php, line 424

'<img src="%s" class="%s" aria-hidden="true"%s />',

No alt attribute on image causes invalid html markup. Please, leave it empty like that: alt="". It will pass validation then!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open includes/front.php at line 424 and inspect the image markup shown in the issue. Run the relevant HTML validation check, then confirm the image includes an empty alt attribute. Done means the validator no longer reports the missing-alt markup error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
accessibility, frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.