speced / respec

A tool for creating technical documents and web standards
https://respec.org/
Other
709 stars 376 forks source link

Add classname or method to mark spec feature as a risk area for AT Detection, similar to the classname for fingerprinting vectors #3298

Open cookiecrook opened 3 years ago

cookiecrook commented 3 years ago

During the PING and ARIA WGs' discussion of ARIA Issue #1371 yesterday and in the issue comments, members of the ARIA working group objected to singling out the ARIA feature as a specific risk area without addressing that it's a larger problem of the Web Platform. The feature "exploited" by the proof-of-concept relies on JavaScript event object inspection, not limited to the specific use with ARIA.

Multiple other features of HTML, CSS, and other W3C specs could potentially be abused as an imperfect but heuristically meaningful method for detection of assistive technology. This goes against Web Platform Design Principle 2.7: Don’t reveal that assistive technologies are being used, so members of the PING suggested these risk areas be called out in every spec.

Note: Another action was for PING to research how to address some specific problems confidentially, so that a large list of potential AT Detection methods did not become a recipe for malicious actors.

Someone on yesterday's call mentioned that ReSpec had a classname to mark a feature as a potential fingerprinting risk, and suggested a similar method could be used to mark various features of HTML, DOM, CSS, and ARIA, as risk areas for AT Detection. I took an action to file this issue against ReSpec to request that feature. I'm not sure what other authoring tools are used by the other spec editors, but it's likely needed it more tools than just ReSpec.

Some additional info is available in ARIA Issue #1371. See other action items in my comment from Feb 12, 2021.

marcoscaceres commented 3 years ago

Someone on yesterday's call mentioned that ReSpec had a classname to mark a feature as a potential fingerprinting risk,

This was actually something in HTML, but BikeShed now supports it (ReSpec does not support it): https://github.com/tabatkins/bikeshed/issues/964

Someone on yesterday's call mentioned that ReSpec had a classname to mark a feature as a potential fingerprinting risk, and suggested a similar method could be used to mark various features of HTML, DOM, CSS, and ARIA, as risk areas for AT Detection.

If someone came up with the watermark, then it might be worth adding. Alternatively, the fingerprint watermark could be reused.