Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tidy-html5 to validate the term-table page #15587

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

octopusinvitro
Copy link
Contributor

@octopusinvitro octopusinvitro commented Oct 14, 2016

What does this do?

HTML-validates the term-table page and in doing so addresses this comments

Why was this needed?

HTML was broken

Relevant Issue(s)

everypolitician/everypolitician#505

Implementation notes

Validating the HTML (adding alt attributes to the images) required escaping the person names that go in those alt attributes, so a new method was added to the html helper.

Screenshots

None

Notes to Reviewer

Errors corrected:

  • An "img" element must have an "alt" attribute, except under certain
    conditions. For details, consult guidance on providing text alternatives
    for images. (All occurrences)

Notes to Merger

None

@tmtmtmtm
Copy link
Contributor

tmtmtmtm commented Oct 21, 2016

this doesn't rebase cleanly with master after merging #15588, so passing back to @octopusinvitro

@tmtmtmtm tmtmtmtm temporarily deployed to everypolitician-viewe-pr-15587 October 21, 2016 10:33 Inactive
@tmtmtmtm
Copy link
Contributor

tmtmtmtm commented Nov 2, 2016

The title and description of this PR don't seem to match what's going on in it…

@tmtmtmtm tmtmtmtm assigned octopusinvitro and unassigned tmtmtmtm Nov 2, 2016
@tmtmtmtm tmtmtmtm temporarily deployed to everypolitician-viewe-pr-15587 November 15, 2016 11:46 Inactive
@octopusinvitro octopusinvitro changed the title Fix closing tag term table Use tidy-html5 to validate the term-table page Nov 15, 2016
Errors corrected:
- An "img" element must have an "alt" attribute, except under certain
conditions. For details, consult guidance on providing text alternatives
for images. (All occurrences)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants