Skip to content

add HTML5 validation Grunt task#291

Merged
cvrebert merged 5 commits intomasterfrom
html-validation
Feb 27, 2014
Merged

add HTML5 validation Grunt task#291
cvrebert merged 5 commits intomasterfrom
html-validation

Conversation

@cvrebert
Copy link
Copy Markdown
Contributor

Also includes fixes to make the HTML validate.
Fixes #282.

@cvrebert cvrebert added the grunt label Feb 26, 2014
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Placeholder Image" for these placehold.it images?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding from skimming http://webaim.org/techniques/alttext/ is that alt text would be redundant in this case since we're within an <a> and there's already the movie title+description in the media-body, but I'm a novice when it comes to alt text, so I'm quite open to guidance here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can allow alt failure, like in Bootstrap.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh. Screen readers doesn't like images without an alt atrribute. 😟

Right alt attribute for this placeholder images is Placeholder or Placeholder image. Could you add alt?

@connor
Copy link
Copy Markdown
Contributor

connor commented Feb 26, 2014

👍

@XhmikosR
Copy link
Copy Markdown
Member

I say just exclude the alt check for now.

@connors connors added this to the 2.0.1 milestone Feb 26, 2014
@cvrebert
Copy link
Copy Markdown
Contributor Author

@XhmikosR Good catch. Added the missing class to the iframe.

Also, added non-blank alt text to the movie image links per folks' feedback.

@zlatanvasovic
Copy link
Copy Markdown

Looks good to me.

2014-02-26 20:27 GMT+01:00 Chris Rebert notifications@github.com:

@XhmikosR https://github.com/XhmikosR Good catch. Added the missing
class to the iframe.

Also, added non-blank alt text to the movie image links per folks'
feedback.


Reply to this email directly or view it on GitHubhttps://github.com//pull/291#issuecomment-36165821
.

Zlatan Vasović - ZDroid

@XhmikosR
Copy link
Copy Markdown
Member

LGTM.

cvrebert added a commit that referenced this pull request Feb 27, 2014
add HTML5 validation Grunt task
@cvrebert cvrebert merged commit 9a89d4f into master Feb 27, 2014
@cvrebert cvrebert deleted the html-validation branch February 27, 2014 05:24
@mdo mdo mentioned this pull request Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add docs+examples HTML validation Grunt task?

5 participants