diff --git a/accessible/README b/accessible/README index 42bf1c4fa..661b3a105 100644 --- a/accessible/README +++ b/accessible/README @@ -46,6 +46,8 @@ keys: - 'text' (the text to display on the button) - 'ariaDescribedBy' (the value of the button's aria-describedby attribute) + - 'onClickNotification' (a notification that the screenreader should read + when the button is clicked) - 'isHidden' (a function that returns true if the button should not be displayed, and false otherwise) - 'action' (the function that gets run when the button is clicked) diff --git a/accessible/field-segment.component.js b/accessible/field-segment.component.js index 86c649b0c..acb765363 100644 --- a/accessible/field-segment.component.js +++ b/accessible/field-segment.component.js @@ -56,7 +56,8 @@ blocklyApp.FieldSegmentComponent = ng.core
  1. + [attr.aria-level]="level" [attr.aria-selected]="mainField.getValue() == optionValue" + class="blocklyDropdownListItem">