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

"Michael[tm] Smith" <mike@w3.org>, 2015-05-20 11:09 +0900:
> Jason Kiss <jason@accessibleculture.org>, 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

Received on Sunday, 28 June 2015 06:08:34 UTC