diff --git a/CHANGELOG.md b/CHANGELOG.md index cab524af964..bb3171403ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Pass `EuiSuperSelect`'s `popoverClassName` to the popover's panel ([#2068](https://github.com/elastic/eui/pull/2068)) - Added `editorItemAlignLeft`, `editorItemAlignCenter`, `editorItemRight`, `editorItemAlignTop`, `editorItemAlignMiddle`, `editorItemAlignBottom`, `editorDistributeHorizontal`, `editorDistributeVertical`, `editorPositionTopLeft`, `editorPositionTopRight`, `editorPositionBottomRight`, and `editorPositionBottomLeft` glyphs to `EuiIcon` ([2070](https://github.com/elastic/eui/pull/2070)) - Added missing TS definitions for `EuiRange` ([#2072](https://github.com/elastic/eui/pull/2072)) +- Made `aria-label` attribute equal to `title` of the the selection checkbox in table items (for each row) in `EuiBasicTable` ([#2043](https://github.com/elastic/eui/pull/2043)) **Bug fixes** diff --git a/src/components/basic_table/basic_table.js b/src/components/basic_table/basic_table.js index 8163110ebe5..6b7f4eada43 100644 --- a/src/components/basic_table/basic_table.js +++ b/src/components/basic_table/basic_table.js @@ -868,8 +868,8 @@ export class EuiBasicTable extends Component { disabled={disabled} checked={checked} onChange={onChange} - title={title} - aria-label={selectThisRow} + title={title || selectThisRow} + aria-label={title || selectThisRow} data-test-subj={`checkboxSelectRow-${itemId}`} /> )}