Ga naar hoofdinhoud
Logo Appt Light

Accessibility group on Flutter

It is easier and quicker for users of assistive technologies to interact with grouped elements. Grouping elements into a single control makes things clearer, simplifies interactions, and provides larger touch targets.

On Flutter, there are multiple types of semantics to group accessibility elements. The excludeSemantics property can be used to override the semantics of all children. You can achieve similar behavior by using BlockSemantics.

Semantics(
  label: 'Appt group',
  excludeSemantics: true,
  child: Column(
        children: [
            Text('Appt'),
            Text('is a platform for accessibility')
        ]
    )
);
Bijdragen

Feedback?

Laat 't ons weten!