RE: problem with data-

Given that it's designed for application-specific, non-standard attributes, I think this purpose as specified in HTML 5 would be defeated if the W3C were to attempt to reserve names with a "data-" prefix.

-----Original Message-----
From: Janina Sajka <janina@rednote.net>
Sent: Monday, March 11, 2019 1:21 PM
To: Charles LaPierre <charlesl@benetech.org>
Cc: lisa.seeman <lisa.seeman@zoho.com>; public-personalization-tf <public-personalization-tf@w3.org>; lw@tetralogical.com
Subject: Re: problem with data-

OK. Let me escalate to our formal liaison to Web Apps ...

Best,

Janina

Charles LaPierre writes:
> That was the statements which was preventing us from using data- to insert mathML into a page so that it could be used by a plugin etc.  So I was never quite sure why we couldn’t use data- for that purpose but could for this purpose since both seem similar in my thinking.  I don’t remember who though putting the mathML into the data-mathml = “enter raw mathML here” thought that was a violation of the use of data-  But if this isn’t the case we could have created a plugin which could interact with the mathML.  Or there could be data-latex as another option.  Would be really good to know why we can’t do that or if the spec on data- needs to be updated.
>
>
> Thanks
> EOM
> Charles LaPierre
> Technical Lead, DIAGRAM and Born Accessible
> Twitter: @CLaPierreA11Y
> Skype: charles_lapierre
> Phone: 650-600-3301
>
> On Mar 11, 2019, at 8:13 AM, lisa.seeman <lisa.seeman@zoho.com<mailto:lisa.seeman@zoho.com>> wrote:
>
>
> Folks, are we braking the html standard by using data- attributes?
>
> I quote
>
> "
>
> Custom data attributes<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3.org%2FTR%2Fhtml50%2Fdom.html%23custom-data-attribute&amp;data=02%7C01%7Cjjwhite%40ets.org%7C8a8ae36678134be09ebe08d6a6460732%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636879217031967443&amp;sdata=5j0CH67RCANdbOWzSUkY8Ai5gwwUhyQlSYpiOwXKwWU%3D&amp;reserved=0> are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
>
> These attributes are not intended for use by software that is independent of the site that uses the attributes.
>
> "
>
>
>
>
> From w3c schools (IE out in the wieled...) "
> Note: Custom attributes prefixed with "data-" will be completely ignored by the user agent."
>
> In pother words we are going against how dat- is intended to be used.
>
>
> All the best
>
> Lisa Seeman
>
> LinkedIn<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2

> F%2Fil.linkedin.com%2Fin%2Flisaseeman%2F&amp;data=02%7C01%7Cjjwhite%40
> ets.org%7C8a8ae36678134be09ebe08d6a6460732%7C0ba6e9b760b34fae92f37e6dd
> d9e9b65%7C0%7C0%7C636879217031967443&amp;sdata=JEUlTH%2B4U5bO087SpZEqQ
> CXc0C9xhYXfLcu%2BoRWEdnY%3D&amp;reserved=0>,
> Twitter<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2

> F%2Ftwitter.com%2FSeemanLisa&amp;data=02%7C01%7Cjjwhite%40ets.org%7C8a
> 8ae36678134be09ebe08d6a6460732%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%
> 7C0%7C636879217031967443&amp;sdata=0u26NKI7%2FHJPOZqta%2BozqbBmYs1dLZA
> SWfZdNOuKiNc%3D&amp;reserved=0>
>
>
>
>
>

--

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fa11y.org&amp;data=02%7C01%7Cjjwhite%40ets.org%7C8a8ae36678134be09ebe08d6a6460732%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636879217031967443&amp;sdata=AeISCc8in8oDAW1TCikeqCDqgOd%2BCu5CEzbjD7lKnQU%3D&amp;reserved=0


The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectureshttps://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fwai%2Fapa&amp;data=02%7C01%7Cjjwhite%40ets.org%7C8a8ae36678134be09ebe08d6a6460732%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636879217031967443&amp;sdata=uKsdpsdYAB08Q5FT8%2BvyAoDkNZK2crPd4FNk%2FDA3VMw%3D&amp;reserved=0




________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________

Received on Monday, 11 March 2019 17:29:43 UTC