@jetbrains/ring-ui 4.0.46 → 4.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,8 +133,8 @@ export default class Tooltip extends Component {
133
133
  const {children, 'data-test': dataTest,
134
134
  title, delay, selfOverflowOnly, popupProps, ...restProps} = this.props;
135
135
 
136
- const ariaProps = typeof title === 'string'
137
- ? {'aria-label': title, role: 'contentinfo'}
136
+ const ariaProps = typeof title === 'string' && !!title
137
+ ? {'aria-label': title, role: 'tooltip'}
138
138
  : {};
139
139
 
140
140
  const {onNestedTooltipShow, onNestedTooltipHide} = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "4.0.46",
3
+ "version": "4.0.47",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -207,5 +207,5 @@
207
207
  "node": ">=7.4",
208
208
  "npm": ">=6.0.0"
209
209
  },
210
- "gitHead": "51ea222790f311224226726b175ff773329f23ed"
210
+ "gitHead": "4ab38ea6ffd570d889ff2ad3574fd4e67d176c48"
211
211
  }