When I give presentations on accessibility, I often get one or two questions I’ve fielded before. I’ve collected a handful for an ongoing series of posts with my answers. I hope it helps you understand accessibility better.
That said, you should keep these things in mind:
- Use semantic HTML as your base. Employ native controls that work well with all devices, like
- Use device dependent event handlers: onFocus, onBlur, onSubmit, onClick. These will work with a variety of devices and input methods.
- Implement ARIA where applicable to communicate context, like change of state, to assistive technology.
Further reading: Practical ARIA Examples.
Further watching: A Web for Everybody.