A presentation at PyOhio 2017 in in Columbus, OH, USA by Zach Passen

In this talk, we’re going to cover creating accessible web forms using Flask and Jinja. Starting with a brief into to Aria and WCAG, we’ll talk why accessibility matters to developers, what basic form accessibility includes, and some ways to test for accessibility. We’re going to discuss ways to structure templates so that they’re accessible for POST validation as well as asynchronous requests. We’ll show what tag attributes can be added with the Jinja templating system to create accessible and user-friendly forms as well as how to cover any remaining gaps with JavaScript.

  • Brief intro to Aria and WCAG
  • Basic form accessibility
  • What is possible with Jinja and how to do it
  • Basic asynchronous JavaScript validation