mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(datetime): time button is easier to access with screen readers (#26019)
This commit is contained in:
@ -1912,6 +1912,8 @@ export class Datetime implements ComponentInterface {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
// Non-visible months should be hidden from screen readers
|
||||||
|
aria-hidden={!isWorkingMonth ? 'true' : null}
|
||||||
class={{
|
class={{
|
||||||
'calendar-month': true,
|
'calendar-month': true,
|
||||||
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
// Prevents scroll snap swipe gestures for months outside of the min/max bounds
|
||||||
|
|||||||
Reference in New Issue
Block a user