... | ... | @@ -2,6 +2,8 @@ |
|
|
|
|
|
The following page contains a brief guideline to improve the behaviour of the application in terms of accessibility.
|
|
|
|
|
|
The accessibility output is tested using [NVDA](https://www.nvaccess.org/) on Windows.
|
|
|
|
|
|
See the following documents:
|
|
|
|
|
|
* [Making Qt Applications Accessible](http://doc.qt.io/qt-5/accessible.html)
|
... | ... | @@ -9,6 +11,10 @@ See the following documents: |
|
|
|
|
|
## Accessibility
|
|
|
|
|
|
### View Models
|
|
|
|
|
|
The models `data()` method should implement the `Qt::AccessibleTextRole` on which a suitable QString containing the cell content description must be returned. Don't return null or empty strings or variants as then the used screen reader (NVDA) tends to generate a generic **cell** description.
|
|
|
|
|
|
## Keyboard Navigation
|
|
|
|
|
|
All control elements should be navigable by using keyboard only. Forget about the mouse cursor for the moment.
|
... | ... | |