Skip to content

NOMAD Field Desk v7.0.10

Choose a tag to compare

@SysAdminDoc SysAdminDoc released this 12 Apr 20:50
· 794 commits to master since this release

v7.0.10 — 76 More Prep Form Labels Associated

Continuation of design-review item #6 (form label accessibility). 839 pytest tests pass.

What changed

An audit script identified 281 <label class=\"prep-field-label\"> occurrences across the 17 Preparedness sub-tab partials. Of those:

  • 205 were already WCAG-valid via implicit association: <label class=\"prep-field\"><span class=\"prep-field-label\">Name</span><input id=\"...\"></label> — the <label> wraps both the text span and the control, which is valid HTML and correctly announced by screen readers.
  • 76 used the flat pattern <label>...</label><input id=\"...\"> with no for= attribute and no wrapping — these needed an explicit for=\"...\" to be accessible.

A regex-based bulk editor associated the 76 flat-pattern labels:

File Labels fixed
_calculators.html +54
_ops.html +18
_guides.html +4

The regex only rewrote labels with no existing for= that were immediately followed by <input|select|textarea id=\"...\">, so wrapping patterns and labels for non-field controls were left alone.

Form labels status across the app

Form Status
Inventory ✓ v7.0.7 (12 labels, manual)
Contacts ✓ v7.0.7 (11 labels, manual)
Calculators ✓ v7.0.10 (54 labels, bulk)
Ops / Command Post ✓ v7.0.10 (18 labels, bulk)
Guides reference cards ✓ v7.0.10 (4 labels, bulk)
Medical, Garden, Fuel, Power, Weather, etc. ✓ Already valid via implicit wrapping

Design review item #6 now substantially complete

h2 headings (v7.0.6) + form labels across all prep forms (v7.0.7 + v7.0.10) addresses the WCAG 1.3.1 and 3.3.2 findings from the accessibility design review.

Downloads

All binaries verified via SHA256SUMS.txt.