flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.29k stars 832 forks source link

[A11Y] Accessibility mega-issue #3360

Open davwheat opened 3 years ago

davwheat commented 3 years ago

Flarum isn't particularly accessible at the moment, particularly revolving around keyboard navigation.

This issue serves as progress tracking for individual a11y issues.

More issues may be present in core aside from just the ones listed below. If this is the case, please open an individual issue, and reference that issue as a reply to this issue. Discussion should also take place on individual issues rather than this issue.

Current issues (Core only)

Bundled extensions

davwheat commented 3 years ago

I just discovered this: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions

We should probably look into a way to implement this, but I can't think of a great way, especially with extensions that might modify page content that we don't think about.

Setting aria-live="polite" on commonly modified areas (e.g. PostStreams) would be a great starting point.

SychO9 commented 3 years ago

I noticed the admin area form labels have no for attribute linking them to their inputs, the actual label attribute on the input isn't a thing, it's just leftover from not removing it from componentAttrs on JS side.

<div class="Form-group">
    <label>Forum Title</label>
    <div class="helpText"></div>
    <input type="text" label="Forum Title" class="FormControl">
</div>

Also, let's log https://github.com/flarum/core/pull/2799 as done as well.