AndyTaylorTweet / Pi-Star_DV_Dash

Pi-Star DV Dashboard (Based on works by Hans-J. Barthen (DL5DI) and Kim Huebel (DG9VH)).
http://www.pistar.uk/downloads/
111 stars 120 forks source link

Accessible mode statuses overview #144

Open HegrJan opened 2 years ago

HegrJan commented 2 years ago

Currently the mode/network statuses (rendered in repeaterinfo.php) are indicated by color only. There are several states possible, but there's no legend explaining the color meaning. There has been an attempt towards the accessibility made using aria-disabled attribute for disabled modes, but there's an error in the attribute value "true>" instead of just "true". Moreover, it's not a propper usage of that attribute as it's meant to be used for annotating disabled elements which could be otherwise activated. Screenreaders don't announce this attribute for text elements. My proposal is to show the state in text form ("Enabled", "Disabled", ...) next to the mode or network name, it should be styled as screenreader-only not to be visible all the time; that would help the blind users a lot. This text could also be displayed on mouse hover working as the color explanation legend. This text should probably be localised. I can implement and pull request solution for this issue if you consider this to be something you are willing to take care about. I just need answers to few questions:

MW0MWZ commented 2 years ago

If you would like to takle this, please do, dont worry about localisation at this point, function is more important initially. Amber denotes a problem of some other kind - in the case of DMR this specifically points to a password failure - I dont think (without looking) that I used amber for any other mode.