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

w3c check has warnings/errors #130

Open
1 of 8 tasks
mvitz opened this issue Nov 25, 2014 · 0 comments
Open
1 of 8 tasks

w3c check has warnings/errors #130

mvitz opened this issue Nov 25, 2014 · 0 comments
Assignees
Labels

Comments

@mvitz
Copy link
Contributor

mvitz commented Nov 25, 2014

I just checked the generated updates page with http://validator.w3.org/check and there seems to be some warnings and errors.

Warnings:

  • No Character encoding declared at document level

Errors:

  • Bad value navigation for attribute role on element header. (See: http://www.w3.org/html/wg/drafts/html/master/dom.html#sec-strong-native-semantics we should use the nav-element here)
  • The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
    …es</a></li><li><a name="inline-images"><span class="fa fa-cogs"></span><label …
  • The element label must not appear as a descendant of the a element.
    …</span><label for="pref-inline-images">Inline images?</label><input class="pre…
  • The element input must not appear as a descendant of the a element.
    …e-images" type="checkbox" value="true"></a></li></ul></div></div></header><mai…
  • Element form not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
    …n confirm(&apos;Delete status?&apos;)"><input id="_method" name="_method" type…
  • Bad value Thu, 20 Nov 2014 12:20:18 +0100 for attribute datetime on element time: The literal did not satisfy the time-datetime format.
    …time="Thu, 20 Nov 2014 12:20:18 +0100">2014-11-20 12:20:18</time></a></span></…
  • Duplicate ID _method.
    …"_method" type="hidden" value="DELETE"><button class="btn btn-delete" type="su…
@mvitz mvitz added the bug label Nov 25, 2014
mvitz added a commit to mvitz/statuses that referenced this issue Dec 8, 2014
- fixes format of time's datetime attribute
- adds moment.js for displaying relative date
- uses bootstrap for tooltip with absolute date

Relates to innoq#130.
@mvitz mvitz self-assigned this Mar 13, 2015
mvitz added a commit to mvitz/statuses that referenced this issue Mar 13, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 13, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 13, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 13, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 13, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 3, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 3, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 3, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 3, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 3, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 8, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 8, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 8, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 8, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 8, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 22, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 22, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 22, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 22, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Apr 22, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue May 1, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue May 1, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue May 1, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue May 1, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue May 1, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Nov 23, 2015
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Nov 23, 2015
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Nov 23, 2015
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Nov 23, 2015
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Nov 23, 2015
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 10, 2016
Specifying the charset prevents the browser from guessing the charset to
use.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 10, 2016
Instead of a header with role navigation now the HTML5 element nav is
used.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 10, 2016
Removes warnings from w3c validator that label and input are not valid
inside an a element. Because preferences aren't links anyway this
increases semantic as well.

Relates to innoq#130.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 10, 2016
By default hiccup generates an id for every form field. In our case
(more than one form with method DELETE on the same page) this leads to
non unique ids which leads to w3c validation errors.

Relates to innoq#130.
Workaround for weavejester/hiccup#109.
mvitz added a commit to mvitz/statuses that referenced this issue Mar 10, 2016
Only inline elements may be contained whithin inline elements. Because
form is not an inline element this leads to w3c validation errors.

Relates to innoq#130.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant