Open HegrJan opened 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.
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:background:#0b0; color:#030
: "Enabled and running"background:#b00; color:#500
: "Enabled and stopped"background:#ff9; color:#030
: ???background:#606060; color:#b0b0b0
: "Disabled"