diff --git a/accessible/field.component.js b/accessible/field.component.js index 9b1a35143..6bc400af9 100644 --- a/accessible/field.component.js +++ b/accessible/field.component.js @@ -30,18 +30,18 @@ blocklyApp.FieldComponent = ng.core template: `
  • + [attr.aria-level]="level" aria-selected="false">
  • + [attr.aria-level]="level" aria-selected="false"> -
      +
      1. + [attr.aria-level]="level + 1" aria-selected="false">
    1. + [attr.aria-level]="level" aria-selected="false"> // Checkboxes are not currently supported.
    2. + [attr.aria-level]="level" aria-selected="false"> diff --git a/accessible/toolbox-tree.component.js b/accessible/toolbox-tree.component.js index 15dfa220a..c6cc803b8 100644 --- a/accessible/toolbox-tree.component.js +++ b/accessible/toolbox-tree.component.js @@ -34,17 +34,16 @@ blocklyApp.ToolboxTreeComponent = ng.core [attr.aria-selected]="index == 0 && tree.getAttribute('aria-activedescendant') == 'blockly-toolbox-tree-node0'" [attr.aria-level]="level"> -
        +
        1. + aria-selected="false" [attr.aria-level]="level + 1"> -
            +
            1. + [attr.aria-level]="level + 2" aria-selected="false">
            2. + [attr.aria-level]="level + 2" aria-selected="false">
            3. + [attr.aria-level]="level + 2" aria-selected="false">
            4. + [attr.aria-level]="level + 2" aria-selected="false">