diff --git a/common/changes/office-ui-fabric-react/accAriaSize_2018-02-16-19-56.json b/common/changes/office-ui-fabric-react/accAriaSize_2018-02-16-19-56.json new file mode 100644 index 0000000000000..4926123daab9a --- /dev/null +++ b/common/changes/office-ui-fabric-react/accAriaSize_2018-02-16-19-56.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "added support for aria-posinset and aria-setsize", + "type": "minor" + } + ], + "packageName": "office-ui-fabric-react", + "email": "chiechan@microsoft.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/components/Checkbox/Checkbox.tsx b/packages/office-ui-fabric-react/src/components/Checkbox/Checkbox.tsx index 1062305e0dccb..8a398c119e228 100644 --- a/packages/office-ui-fabric-react/src/components/Checkbox/Checkbox.tsx +++ b/packages/office-ui-fabric-react/src/components/Checkbox/Checkbox.tsx @@ -83,6 +83,8 @@ export class Checkbox extends BaseComponent impl styles: customStyles, onRenderLabel = this._onRenderLabel, checkmarkIconProps, + ariaPositionInSet, + ariaSetSize } = this.props; const isChecked = checked === undefined ? this.state.isChecked : checked; @@ -118,6 +120,8 @@ export class Checkbox extends BaseComponent impl aria-label={ ariaLabel } aria-labelledby={ ariaLabelledBy } aria-describedby={ ariaDescribedBy } + aria-posinset={ ariaPositionInSet } + aria-setsize={ ariaSetSize } >