Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessible mode statuses overview #144

Open
HegrJan opened this issue Jan 15, 2022 · 1 comment · May be fixed by #146
Open

Accessible mode statuses overview #144

HegrJan opened this issue Jan 15, 2022 · 1 comment · May be fixed by #146

Comments

@HegrJan
Copy link

HegrJan commented Jan 15, 2022

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:

  • Shall the states be localised?
  • What shall the text representation be? Proposal:
    • background:#0b0; color:#030: "Enabled and running"
    • background:#b00; color:#500: "Enabled and stopped"
    • background:#ff9; color:#030: ???
    • background:#606060; color:#b0b0b0: "Disabled"
@MW0MWZ
Copy link
Collaborator

MW0MWZ commented Jan 15, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants