Skip to content

Commit

Permalink
work for the #7691
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Jan 19, 2024
1 parent 6be9ad5 commit 153dd36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/question_boolean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,15 @@ export class QuestionBooleanModel extends Question {
protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer {
return super.createActionContainer(this.renderAs !== "checkbox");
}

//a11y
public get isNewA11yStructure(): boolean {
return true;
}
public get a11y_input_ariaRole(): string {
return "switch";
}
// EO a11y
}

Serializer.addClass(
Expand Down

0 comments on commit 153dd36

Please sign in to comment.