@deque/cauldron-react 7.5.0-canary.7edd719e → 7.5.0-canary.b12b7518
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.
- package/lib/index.js +5 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1659,7 +1659,11 @@ var DialogContent = function (_a) {
|
|
|
1659
1659
|
'text--align-left': align === 'left',
|
|
1660
1660
|
'text--align-center': align === 'center',
|
|
1661
1661
|
'text--align-right': align === 'right'
|
|
1662
|
-
}),
|
|
1662
|
+
}),
|
|
1663
|
+
// A keyboard user can only scroll this region if it is tabbable (WCAG
|
|
1664
|
+
// 2.1.1). The rule allows that on role="tabpanel" only. See #680.
|
|
1665
|
+
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
|
|
1666
|
+
tabIndex: (context === null || context === void 0 ? void 0 : context.scrollable) ? 0 : undefined }, other), children));
|
|
1663
1667
|
};
|
|
1664
1668
|
DialogContent.displayName = 'DialogContent';
|
|
1665
1669
|
var DialogFooter = function (_a) {
|
package/package.json
CHANGED