Re: ReSpec: linter
Shane McCarron <[email protected]> Thu, 14 Jul 2016 14:09:15 -0500
| Newsgroups | gmane.org.w3c.specifications |
|---|---|
| Message-ID | <CAJdbnOCFuUoApwEfxGdM28xEdhqxtr15j5LHPuJzEAmiRN8rBg@mail.gmail.com> |
--001a113cc326ed1f5905379d3cc8 Content-Type: text/plain; charset=UTF-8 Good ideas... except for xml:lang. Rdfa can use that in some circumstances. On Jul 14, 2016 2:05 PM, <[email protected]> wrote: > On 14/07/2016 14:13, Shane McCarron wrote: > >> BTW I have suggested we also add some a11y checking to this. I don't >> yet know what that will be. I am asking the APA and ARIA groups for >> input on it. But I wonder if there shouldn't also be a check for an >> a11y considerations section. I have raised an issue against specberus >> to discuss that with the relevant players. [1] Please feel free to >> comment here or against that issue. >> > > Perhaps we could check for some basic i18n stuff too. For example: > - html tag should have lang attribute > - char encoding must be present and must be utf-8 > - char encoding must be within 1024 bytes of page start > - meta content-language should not be used > - xml:lang attributes should not appear in the page > > > ri > > --001a113cc326ed1f5905379d3cc8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Good ideas...=C2=A0 except for xml:lang.=C2=A0 Rdfa can use = that in some circumstances. </p> <div class=3D"gmail_quote">On Jul 14, 2016 2:05 PM, <<a href=3D"mailto:= [email protected]">[email protected]</a>> wrote:<br type=3D"attribution"><blockq= uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex">On 14/07/2016 14:13, Shane McCarron wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> BTW I have suggested we also add some a11y checking to this.=C2=A0 I don= 9;t<br> yet know what that will be.=C2=A0 I am asking the APA and ARIA groups for<b= r> input on it.=C2=A0 But I wonder if there shouldn't also be a check for = an<br> a11y considerations section.=C2=A0 I have raised an issue against specberus= <br> to discuss that with the relevant players. [1]=C2=A0 Please feel free to<br= > comment here or against that issue.<br> </blockquote> <br> Perhaps we could check for some basic i18n stuff too.=C2=A0 For example:<br= > - html tag should have lang attribute<br> - char encoding must be present and must be utf-8<br> - char encoding must be within 1024 bytes of page start<br> - meta content-language should not be used<br> - xml:lang attributes should not appear in the page<br> <br> <br> ri<br> <br> </blockquote></div> --001a113cc326ed1f5905379d3cc8--