Blog Pile

Update: RSS to JS- addressing accessibility

Regarding our RSS to JS demo (code that allows you to embed RSS into any web page using a script that returns RSS as a series of JavaScript write statements), Michelle appropriately noticed that this approach would leave in the dark anyone using a screen reader (or just having JavaScript turned off).

Bad dog.

The problem is that screen readers will skip the Javascript statements. A first cut solution I have just added is a suggestion for a NOSCRIPT tag that has a link to another script (rss2html.php) that takes the same feed and returns a normal HTML version of the feed. You pass this script the same parameters that are passed to the rss2js.php script.

You can see it in action from our RSS2JS demo as well as the code builder form that is on that same site. Then, go to your browser preferences and turn off JavaScript, and reload. Rather then the embedded RSS feeds, you will find links to view the feed content.

We believe we are the first to deal with this accessibility issue from among the 3 or 4 other RSS to JavaScript tools out there. See what reading a bit of can do?

If this kind of stuff has value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at CogDogBlog.com on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person. And he is 100% into the Fediverse (or tells himself so) Tooting as @cogdog@cosocial.ca

Comments

  1. Hurray!

    I knew if I ran away for a few days in the sunny (and smoky) BC Interior, clicked my heels a couple of times, and came back …. there would be something cool like this when I get back. Actually I’m not really back…

    Tomorrow is Monday… I’ll be back then 😉

    Thanks, Alan!

    –Michelle

  2. Hurray!

    I knew if I ran away for a few days in the sunny (and smoky) BC Interior, clicked my heels a couple of times, and came back …. there would be something cool like this when I get back. Actually I’m not really back…

    Tomorrow is Monday… I’ll be back then 😉

    Thanks, Alan!

    –Michelle

Comments are closed.