Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Day 67: Adding Image Alt Text in Quill #100DaysOfIndieWeb

    February 25, 2017

    With Quill's new image uploading UI, I was able to easily add a form field for specifying image alt text. This is a relatively new feature of Micropub, added thanks to a review by the W3C accessibility group.

    When specifying alt text for an uploaded photo, the request is then sent as JSON format which will look like the below:

    { 
      "type": "h-entry", 
      "properties": { 
        "content": "Example post with an image", 
        "photo": { 
          "value": "http://example.com/photo.jpg", 
          "alt": "a photo of a globe" 
        } 
      }
    }

    The Micropub endpoint can then store the alt text along with the photo, and display it in the page.

    Please let me know if you end up adding support for image alt text to your Micropub endpoint!

    Portland, Oregon
    #100daysofindieweb #micropub #quill
    Sat, Feb 25, 2017 12:18pm -08:00
    3 likes 1 reply 1 mention
    • Greg
    • Pelle Wessman
    • IndieWebCamp
    • Henrique Dias hacdias.com

      Is this not a feature anymore?

      Mon, Nov 8, 2021 9:26am -08:00

    Other Mentions

    • 100 Days of IndieWeb aaronparecki.com/tag/100daysofindieweb
      Day 67: Adding Image Alt Text in Quill #100DaysOfIndieWeb: aaronparecki.com/2017/02/25/9/d…

      Sat, Feb 25, 2017 8:19pm +00:00 (via brid-gy.appspot.com)
Posted in /articles using quill.p3k.io

Hi, I'm Aaron Parecki, Senior Security Architect at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming and dabble in product design.

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Security Architect at Okta
  • IndieWebCamp Founder
  • OAuth WG Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2023 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv