getgrav / getgrav/grav-plugin-form
Button with URL doesn't pass HTML validation
Open
- Dominant language
- PHP
- Stars
- 64
- Forks
- 80
- Avg merge
- 10h 13m
- Merged PRs (30d)
- 9
Description
When a button on a form has a URL it is wrapped in an anchor tag, this does not pass validation at validator.w3.org with the error "The element button must not appear as a descendant of the a element."
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the form button rendering path used when a button has a URL, then reproduce the generated markup and check it at validator.w3.org. Done means the URL-bearing button no longer places a button element inside an anchor and the resulting HTML passes validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100