SPACEBAR to move forward through slides.
SHIFT & SPACEBAR to move backwards through slides.
LEFT ARROW & RIGHT ARROW to move through sections.
ESC to see overview and ESC again to exit.
F to enter presentation mode and ESC to exit.
I'm not going to provide a definitive date picker solution at the end of this presentation.
The aim is to provide you with tools and strategies to make your own decisions.
Date pickers are one of the most complex components to build accessibly.
Let’s assume your team wants to use a date picker as part of your website or design system.
Where would you start? Maybe with two fundamental questions:
Date pickers can be suitable for some situations, such as choosing dates for a holiday.
Date pickers can be less than ideal in other situations, such as a ‘Date of birth’ component.
So, we must be careful about jumping into solution mode too quickly.
We should also be aware that some types of users find date pickers challenging, while others find them easy.
I have observed people struggling with date pickers for many years, especially when the components were often highly inaccessible.
Which is why I always thought of date pickers as the work of Satan!
However, a recent experience shifted my perspective.
If you decide that a date picker is the best option, the next challenge is determining the best way to build it.
I use a component decision tree, which can be used to step through some possible options for building new components.
How could we test each of these options to determine if they are accessible?
You can start by looking at different groups of people and their needs.
This means you can focus on one user type and explore how they may need to interact with the component.
These groups of people could include:
We should start with ‘People with some sort of cognitive impairment or neurodivergence’.
If these people have issues with the component, there are either fundamental UX or content-related issues.
We should then look at design-related concepts for:
And finally, we should look at more technical concepts for:
We can use these people to create a cohesive set of accessibility unit tests.
‘accessibility unit testing’ is a process where the smallest parts of a component are individually and independently evaluated.
Accessibility unit tests are often based on two concepts:
1. How all aspects of the component are presented to users - either on screen or via assistive technologies.
2. How users should be able to interact with the component to complete all relevant tasks.
Each possible task needs to be defined as a test.
And every test must be written as a statement where the only outcome is either a pass or a fail.
We will now look at an accessibility unit testing chart, showing a sub-set of some possible tests.
Let’s explore the demo chart.
The following high-level review is not meant to shame any of these solutions. This is just for educational purposes.
As you can see, all three options have strengths and weaknesses. There is no perfect solution.
Ultimately, you should conduct your own tests to determine the solution that suits your needs.
While accessibility unit testing is a very useful process, we should still try to test with real people with lived experience.
These people may provide you valuable insights, and help you design and build more inclusive products.