noscript alternative to application/ld+json scripts?

Discussion about accessibility related issues, including WCAG and US Government Section 508 federal standards.
Post Reply
TomHTML
Rank II - Novice
Rank II - Novice
Posts: 42
Joined: Sun Feb 04, 2018 10:19 am

noscript alternative to application/ld+json scripts?

Post by TomHTML » Sun Apr 28, 2019 11:20 am

I use several application/ld+json scripts for schema in my sites. The validator flags them with a blue message, saying,
All scripts must have a text alternative that can be changed into other forms people need, such as large print, braille, speech, symbols or simpler language. Consider using the "noscript" element to provide the text alternative. The content of the "noscript" element will be rendered if scripts are turned off or not supported (the Lynx text-only browser does not support scripts). This message is displayed only once. [Section 1194.22 (a)]
Does that mean that my schema script blocks need noscript alternatives? It seems that the schema blocks are just to help a search engine understand and categorize the site and its structure better. Where is the documentation on this, and what are some good examples of noscript alternatives to these if they are needed?

Many thanks,
Tom

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3453
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: noscript alternative to application/ld+json scripts?

Post by Albert Wiersch » Mon Apr 29, 2019 9:53 am

Hi Tom,

I don't see any reason why that message should be generated unless it's an actual script that will be run/executed like JavaScript. I've addressed this in the next update.

Also, it looks like you are using Section 508 accessibility checking. Unless you have a good reason to use that, I would recommend that you disable it because it's deprecated/obsolete. Instead, please enable and use WCAG 2.0/2.1 checking.
Image
Albert Wiersch

TomHTML
Rank II - Novice
Rank II - Novice
Posts: 42
Joined: Sun Feb 04, 2018 10:19 am

Re: noscript alternative to application/ld+json scripts?

Post by TomHTML » Mon Apr 29, 2019 10:00 am

Excellent! And I did have 508 enabled...now it's disabled. Many thanks!

Post Reply