koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
538 stars 154 forks source link

Small feature: Add aria-heading role to sections #408

Open Martin-Idel opened 1 year ago

Martin-Idel commented 1 year ago

Sections are meant to structure the vjsf form.

Therefore, in terms of accessibility, the section headers should represent "headings" with various nested levels.

This Commit adds corresponding aria attributes to the object container class, ensuring that headings are set accordingly, which allows easier navigation with screen readers (e.g. using the "h" button in JAWS to navigate sections"