fix(datetime): time button is easier to access with screen readers (#26019)

This commit is contained in:
Sean Perkins
2022-09-27 11:12:29 -04:00
committed by GitHub
parent 19f0fb7045
commit 5846b418a7

View File

@ -1912,6 +1912,8 @@ export class Datetime implements ComponentInterface {
return (
<div
// Non-visible months should be hidden from screen readers
aria-hidden={!isWorkingMonth ? 'true' : null}
class={{
'calendar-month': true,
// Prevents scroll snap swipe gestures for months outside of the min/max bounds