Skip to content

Map fieldset readonly state to accessibility #606

@teoeter

Description

@teoeter

Related spec PR: whatwg/html#12424
Spec issue: whatwg/html#10293

The HTML spec is gaining a readonly content attribute on <fieldset>
that propagates a read-only state to descendant form controls that
support being readonly — mirroring how disabled already works.

HTML AAM currently maps the disabled state of a fieldset's descendants
to aria-disabled (or the platform equivalent). The readonly state on
those same descendants should presumably map to aria-readonly (or
platform equivalent), but I'd like to confirm:

  1. Should a descendant <input>/<textarea> that is read-only due to
    the fieldset
    expose aria-readonly=true (or the platform AX
    readonly state)?
  2. Should the <fieldset> itself expose any readonly state to AT, or
    only its descendants? (The fieldset has no aria-readonly mapping
    today.)
  3. Are there any platform AX APIs where a "readonly group" concept
    exists and we should map it differently?

Filing this so HTML AAM can be updated alongside the HTML spec change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions