Showing posts with label accessibility. Show all posts
Showing posts with label accessibility. Show all posts

Tuesday, January 22, 2019

Free tool for getting data and making graphs

I recently put a book on sale and paid for an ad campaign. Since I'm a software engineer in my day job, I was eager to explore the data after the ad ran, to see if I had good return on investment (ROI). I wanted to answer questions like:
  • What percentage of sales came from each major e-book retailer?
  • Did other books in the same series sell?
  • How many books were downloaded from Amazon each day?
Happily, I know of a great tool to help me find answers--and it's free! The tool is called SAS Graphics Accelerator®. It's a Chrome plug-in with a lot of amazing features. I can:
  • create data in the tool (by including CSV files or typing the data in manually)
  • extract data from web pages by "scraping" them
  • create all kinds of graphs, like bar charts, line plots, and pie charts
  • share those graphs with others
The Accelerator is designed to help the visually-impaired (VI) to explore graphics, but sighted users can benefit, too. Each time you request a graph, it is produced twice:
  • the typical visual way--the visualization view
  • through sound--the sonification view--so that VI users can "hear" the graph
Let me show you what you can do!


Here's my first example--a time-series plot to discover how many book units per day were downloaded in the first half of January. I requested a CSV file of sales data from Amazon, imported it into the Accelerator, and generated this graph. It took me 5 minutes of clock time--start to finish.






This second example isn't about my book sales. It just demonstrates how to scrape data, in this case, about Major League Baseball. I found a wikipedia page that has data on the Home Run Derby. I asked the Accelerator to extract the data from a table about TV viewership--then generated a bar chart of the number of viewers per year. This graph only took 3 minutes from curiosity to answer. (Note: simple HTML tables can have their data extracted, but complex ones might not. You are warned if the data cannot be extracted.)


So, if you're ever interested in exploring data and want a free, fun, easy graphics tool to help, check out the Graphics Accelerator.


Disclaimer: This tool is provided by SAS--my day job employer. But I'm not trying to sell you something--because free!

Sunday, February 28, 2016

Accessibility basics for author websites

This post provides tips for how to test your website to ensure it is accessible to readers with visual impairments or mobility impairments. While these tips can work for all websites, the features we targeted are common on author websites.

Primary considerations for testing your website's accessibility
  • Keyboard accessibility: can you navigate via keyboard to everything, especially using the TAB button?
  • Color and style: have you considered users with color-blindness or poor vision?
  • Text and images: can a screen-reader handle the text on your webpage? Do the images provide captions or alternative text that describe what they are?

Tools that webmasters can use to test your website

Navigation

Try this: To discover how easy it is for a disabled user to navigate your website, put away your mouse/touchpad and use the keyboard only! The short-keys below can be used in place of mouse-clicks.

Key Use
Tab Move to the next focus item (links, text boxes, and other items that can be interacted with)
Shift+Tab Move to the previous focus item
ALT+Tab Change to next window
ALT+F4 Close window
CTRL+W Close tab
CTRL+A Select all
CTRL+S Save
CTRL+D Bookmark (Firefox), Favorite (IE)
CTRL+Q Quit
CTRL+T New tab (Firefox, IE)
CTRL+C Copy
CTRL+V Paste
CTRL+X Cut (Copy and Delete)
CTRL+Z Undo


Website Design Basics 

When you (or your web designer) is creating the site, please consider the following accessibility recommendations.


Color Alone for emphasis
  • Do not use color alone for emphasis. (For those with color-blindness, certain colors--such as green and red--might appear gray or black.) Instead, use color with either italics or bold to emphasize text.
  • Inaccessible example:
    The books in green are available for purchase. The books in red are coming out next year.
    • A
    • B
    • C
    • D
  • Accessible example:
    The books in green italics are available for purchase. The books in red bold are coming out next year.
    • A
    • B
    • C
    • D
     

Links
  • Use link text that provides context. "Author website" is better than "click here".
  • Style your link differently than the rest of the text.
Images
  • Provide alt text for all images.
  • Important images should have meaningful alt text.
    <img src="Arabian_knights_book_cover.jpg" alt="Arabian Knights" />
  • Presentation images should have an alt text of ""
    <img src="background_pattern.gif" alt="" />
Forms
  • Use labels.
    Example code:
    <label="fname">First Name</label>
    <input type="text" id="fname" name="first_name" />
    <fieldset>
    <legend>Gender</legend>
    <input id="gender_f" name="gender" value="female" type="radio" />
    <label for="gender_f">Female</label>
    <input id="gender_" name="gender" value="male" type="radio" />
    <label for="gender_m">Male</label>
    </fieldset>
           
    Example in action. (Note that you can click the word "female" or "male", and the radio button gets marked. This is because we used labels, and it provides mouse/touchpad users a larger target to click when they fill out a form.)

    Gender



Tables
  • Tools for webmasters: ARIA (Accessible Rich Internet Applications) is now a part of HTML5, and most attributes and roles are supported by all major browsers. Here's a link to the W3C's documentation on ARIA
  • Use the ARIA attribute role: "grid" for data, "presentation" for layout tables. This helps improve navigation for screen-reader users.
Example for role="grid"
Name Gender Age
Julie Female 21
Michael Male 20
Sam Unspecified 19

Example for role="presentation"
A variety of opportunities available as a part of Given University's student life
Activities Clubs Greek Life
Housing Sports Student Union
Stuff Theater



  •  Use the ARIA attribute scope.
    Row headers (<th>) should have scope="row". (Here with light green shading)
    Column headers should have scope="col". (Here with light blue shading and bolded, centered text)
    Name Population GDP (USD)
    Australia 21,507,717 915,098,000,000
    Canada 33,476,688 1,445,000,000,000
    New Zealand 4,451,017 122,193,000,000
    United Kingdom 63,181,775 2,316,000,000,000
    United States 315,317,000 15,094,000,000,000



  • Multimedia
    • If you have video or audio, have transcripts available.
    • If you have video or audio, provide controls to allow users to, at minimum, pause and play the media. Volume controls are also ideal. Using the native controls available in HTML5 generally provides the most ideal experience.
      <video width="320px" height="240px" controls="controls">
      <source src="interview.mp4" type="video/mp4">
      </video>

    Additional Links for Webmasters

    Friday, September 5, 2014

    Free astronomy book that is accessible to all!

    A good friend of mine, Willie the Seeing Eye Dog, has written a great blog post about a cool new textbook on astronomy. This e-book, Reach for the Stars, is *free* from Apple iStore and bristles with gorgeous images from the Hubble telescope (enhanced by amazing new digital technologies).

    Want to know what's even better? The scientific content is completely accessible to children of all abilities. Visually impaired students can love this book as much as their classmates.


    Here are the types of people that I think will enjoy this book.

    • Students who are visually impaired
    • Kids of all abilities, especially in grades 4-6, who enjoy astronomy
    • Science teachers
    • Anyone with a fascination for the stars!
    • Authors who are curious about the amazing technologies that can enhance a digital book

    Please share the link to Willie's blog with students, science enthusiasts (of all ages), as well as families and teachers of the visually impaired. (You must have an iPad to download this free book.)

    And check out this video. (Willie has it embedded in his blog too.)




    Tuesday, January 22, 2013

    Thinking about websites

    I'm blogging at the Ruby-slippered Sisterhood Tuesday. The topic is: making websites easy-to-use for disabled visitors.  (By the way, if it's good for disabled users, it's good for everyone.)  Feel free to drop by, absorb the information, or leave a question.

    Even more importantly.... drum roll....

    Snare drum


    I have a beautiful, redesigned author website.  I love the way it turned out. (Thank you, Austin DesignWorks!)

    Visit today. Oooohs and aaaahs may commence.

    Tuesday, January 15, 2013

    Another day, another blog

    I'm blogging Tuesday at the Ruby Slippered Sisterhood (a writing group I belong to).  We'll be talking about readers with disabilities--which includes blindness, dyslexia, and amputations (can't turn pages!)

    So join us if you are curious at the blog.