Skip to content

Commit 89488d3

Browse files
committed
Sched: Expose sessions that have been pinned to your schedule by the organiser.
1 parent 26f08ba commit 89488d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SchedA11yFixes.user.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// @namespace http://axSgrease.nvaccess.org/
44
// @description Improves the accessibility of Sched.
55
// @author James Teh <jteh@mozilla.com>
6-
// @copyright 2019 Mozilla Corporation, Derek Riemer
6+
// @copyright 2019-2022 Mozilla Corporation, Derek Riemer
77
// @license Mozilla Public License version 2.0
8-
// @version 2019.1
8+
// @version 2022.1
99
// @include https://*.sched.com/*
1010
// ==/UserScript==
1111

@@ -157,6 +157,8 @@ const LOAD_TWEAKS = [
157157
el.setAttribute("aria-label", label);
158158
}
159159
}},
160+
{selector: '.pinned',
161+
tweak: el => el.setAttribute("aria-description", "pinned")},
160162
]
161163

162164
// Attributes that should be watched for changes and cause dynamic tweaks to be

0 commit comments

Comments
 (0)