Re: Trailing space in ARIA attribute ID reference list causes validation error

"Michael[tm] Smith" <[email protected]> Sun, 28 Jun 2015 15:08:10 +0900
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
"Michael[tm] Smith" <[email protected]>, 2015-05-20 11:09 +0900:
> Jason Kiss <[email protected]>, 2015-05-20 13:38 +1200:
> > Archived-At: <http://www.w3.org/mid/CACFCJLTc94HJmtg+hLy5q2eA7m64Y_VqtEpAeMLJkXR8HkiSYg@mail.gmail.com>
> > 
> > A trailing space in a space-separated list of IDREFs in @aria-controls
> > or @aria-labelled causes validation errors. An example of the error
> > message is "The aria-controls attribute must point to an element in
> > the same document." Removing the trailing space clears the error.

I just now fixed this and pushed the change to https://validator.w3.org/nu/

This cause was a bug that’s been in the code for a long long time (maybe
even 10 years) and that affected checking of other attributes as well, so
thanks for catching it and reporting it.

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVj49KAAoJEIfRdHe8OkuV/sQP/2s5TacmxGq7dgko5+5uGnq4
p93l8vw7umgty2BrahHUAwEMlyyJP7B13RPjCCpPcc3ru7dWnaK/4Yq4XX9+9nQF
ayQSMRoOO+KzH7GJzaX0ll/BZuE3YYDWdzpTfMlbGlb4hCuXl4nfbEF4RkIdmxZY
Dxr+TGxP0PKSu3RrEfO33ZylSUXM1jPim7dU8CnsMXP33VAFBkJ1pQH3CIiQe+lm
shQXJb9NenWyGgngfMJtbq1mBm/PStPW9aII3JDga6/yRvqPAmXJYyMcVfrtdUI0
M2gggiwQqtSHG+u8GPDpF0XVSZnpgaq6oNTUIlkVeebKNyfk4+MYaHtRqlrVSyvM
Yzn7xa36ZmY1l2Ywsorzr0GoWwUnHTxFTuglChTzYcSrUIdXH0A9mv1kz31oqA/J
byYBzvXL6g1laaRVkiZKPUIARXqMiCnfROe8Ly2EMHHDz+/xCd91SsVEzeJpgBAZ
j4McR5HTMhLLdXUuP2BN5O5Ogc9k7FlRC0jkwXaoSMnlimDCCI6e0pS+TT8UXKUc
GGSTldUqD9KHi0zstE8kRRBx98YBLJ8c0unRnqgUUF3llpcS1KVnSP03v19eML3B
8UzhgiQ6xOllg17fIaKGLttVariHZ/A86Uit5QNyinH4dDyDlgpg+iSxvHDZIwnd
5r2WKQW96zELgef+qz+v
=Nnvh
-----END PGP SIGNATURE-----