Accessibility basics in Rails

In most traditional web apps you can achieve a reasonable level of accessibility with semantic HTML and a good page structure. Rails apps are no different. The framework provides lots of handy Action View Helpers and they come with everything you need to make your app accessible. However, just like when writing plain HTML, it's easy enough to forget about crucial attributes and end up with a page that is not accessible.

This website aims to tackle some of the most important accessibility concerns, so you can get the basics right in your Rails application. You can read more about the project here.

Document language

Adding a lang attribute to your HTML is an easy win. It helps render the text more accurately, load the correct pronunciation rules, and display video captions correctly. Read more about document language in Rails