[FIX] RSpec warnings for accessibility specs

Fixes two kinds of warnings for the accessibility specs:

```
Accessing shared_examples defined across contexts is deprecated.
Please declare shared_examples within a shared context, or at the top level.
```
and
```
WARNING: Shared example group 'X' has been previously defined
```