Hi all,
recently I did some quick research about ARIA and how we should use it in the
D-Installer. Here is a short summary.
ARIA = Accessible Rich Internet Applications
It's basically a set of attributes for making web applications accessible to
people with disabilities. ARIA helps the assistive technologies (like screen readers)
to better understand web pages.
There is even a W3C specification for it, see [1]. But that is too low-level
and boring to read (as specifications usually are). It is much better to start with
the Mozilla documentation [2].
At the very begging it mentions two facts:
1. Prefer using semantic HTML elements (like , <input type="checkbox"> or
<button>), these have implicit ARIA attributes and you do not need to specify
them. You should use ARIA only for the generic tags (<div>, <span>)
or if you use the semantic elements for different meaning (e.g. <ul> is often
used for tabs).
2. No ARIA is better than bad ARIA. If you do it wrong then it makes the situation
even worse. If you are not sure whether to use ARIA it is safer to NOT use it.
I'd add one more fact:
3. Many CSS/JS frameworks define the ARIA attributes themselves (like the PatternFly
used by the D-installer). If you use the provided elements properly then you
should not need to add/change the ARIA attributes.
If we sum up all these items then the result is that we should not take extra
attention to the ARIA in the D-Installer unless we get a bug report or we spot a
clear need for it.
HTH
Ladislav
[1] https://www.w3.org/TR/wai-aria-1.0/
[2] https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
--
Ladislav Slezák
YaST Developer
SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8