diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-07-12 18:59:23 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-07-12 18:59:23 +0200 |
| commit | 90a550943188af41dfe8e82ddc386f56436c5a7e (patch) | |
| tree | db2bcea0ed446a3b16cda9e8b5642e9ba2f96870 /StoneIsland/www/js/lib/etc/accessibility.js | |
| parent | de4c08d90cfeb96c416791e8210cfdba8c7aba44 (diff) | |
more ARIA tags. make headers 48px
Diffstat (limited to 'StoneIsland/www/js/lib/etc/accessibility.js')
| -rw-r--r-- | StoneIsland/www/js/lib/etc/accessibility.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/etc/accessibility.js b/StoneIsland/www/js/lib/etc/accessibility.js new file mode 100644 index 00000000..5acb0723 --- /dev/null +++ b/StoneIsland/www/js/lib/etc/accessibility.js @@ -0,0 +1,5 @@ +$(function(){ + $("h1").each(function(el){ + $(el).attr('aria-label', "Page title: " + el.innerText) + }) +})
\ No newline at end of file |
