XG-Proyect-v3.x.x icon indicating copy to clipboard operation
XG-Proyect-v3.x.x copied to clipboard

Various accessibility fixes

Open jmdaweb opened this issue 2 years ago • 0 comments

The following accessibility improvements have been made for now in this pull request:

  • Added alt text to all images. In most cases, this results in an empty alt attribute. However, It's mandatory.
  • Divided the game interface in three ARIA sections: header, navigation and main. This makes the navigation easier for screen reader users without impacting visual layout.
  • Added the lang attribute to the HTML document. The language code can be translated using the lang_code variable in game/global and installation/installation.
  • Added the form role to all forms.

Nothing has been changed on the admin interface yet. It has less priority, since not many blind people should use it and its accessibility is acceptable for most advanced users.

jmdaweb avatar Aug 12 '22 18:08 jmdaweb