camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.47k stars 472 forks source link

Problems panel lacks focusable elements #4368

Closed barmac closed 2 weeks ago

barmac commented 2 weeks ago

What should we do?

The problems noted in the problems panel cannot be focussed with keyboard.

image
{
  "id": "scrollable-region-focusable",
  "impact": "serious",
  "tags": [
    "cat.keyboard",
    "wcag2a",
    "wcag211",
    "wcag213",
    "TTv5",
    "TT4.a",
    "EN-301-549",
    "EN-9.2.1.1",
    "EN-9.2.1.3"
  ],
  "description": "Ensure elements that have scrollable content are accessible by keyboard",
  "help": "Scrollable region must have keyboard access",
  "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/scrollable-region-focusable?application=axeAPI",
  "nodes": [
    {
      "any": [
        {
          "id": "focusable-content",
          "data": null,
          "relatedNodes": [],
          "impact": "serious",
          "message": "Element should have focusable content"
        },
        {
          "id": "focusable-element",
          "data": null,
          "relatedNodes": [],
          "impact": "serious",
          "message": "Element should be focusable"
        }
      ],
      "all": [],
      "none": [],
      "impact": "serious",
      "html": "<div class=\"panel__inner\">",
      "target": [
        ".panel__inner"
      ],
      "failureSummary": "Fix any of the following:\n  Element should have focusable content\n  Element should be focusable"
    }
  ]
}

Why should we do it?

Achieve WCAG 2.1 compliance (a11y)