Commit Graph

50 Commits

Author SHA1 Message Date
squidfunk
0145f6d278 Added note when search is initializing 2020-04-26 18:29:13 +02:00
squidfunk
035225d6d3 Removed required attribute on search input 2020-03-21 17:13:38 +01:00
Jaime Iniesta
7657c4b82c
Added back aria-label to search input (#1517)
* update development guides on how to launch the local servers

* brings back aria-label to search form as form elements must have labels
2020-03-19 11:42:06 +01:00
Jaime Iniesta
e7f7632278
Added aria-label to all nav items to improve accessibility. (#1516)
This ensures navigation landmarks are unique.

Related:

https://dequeuniversity.com/rules/axe/3.5/landmark-unique?application=rocketvalidator
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role
https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html
2020-03-18 17:19:04 +01:00
Benjamin Staneck
d3ed86e4a7
Added aria-label to search reset button (#1489) 2020-03-06 16:52:48 +01:00
squidfunk
11d1b839a1 Refactored Material icon integration - bye bye webfonts 2020-02-24 18:07:50 +01:00
squidfunk
b345a0b650 Prototyped material icon SVG integration 2020-02-23 13:36:51 +01:00
squidfunk
d21da8d522 Merge branch 'master' into refactor/rxjs-typescript 2020-02-17 18:10:08 +01:00
squidfunk
2c0177ab56 Fixed search reset button not hiding for empty input 2020-02-17 10:47:52 +01:00
squidfunk
a399540940 Fixed anchor jump from mobile search 2020-02-16 00:23:50 +01:00
squidfunk
6dba046eae Fixed active layer reset 2020-02-11 17:14:28 +01:00
squidfunk
41dc846753 Merge branch 'master' into refactor/rxjs-typescript 2020-02-10 12:34:58 +01:00
Reece Dunham
eab7148337
Updated copyright year (#1449) 2020-02-08 10:33:01 +01:00
squidfunk
37b3870133 Renamed components 2019-12-22 17:18:20 +01:00
Benjamin Staneck
72891b8bcb Improved Lighthouse score (#1391)
* a few accessibility fixes from lighthouse report

* add rel="noopener" to external links

* add title attribute to social links

* add mimetype to manifest link and allow it to work behind auth

* add font-display: swap to all the places where external fonts are used

* remove font-display: swap from icon fonts

* removed font-display from style blocks in base

* add target="_blank" to social links

* switch base fonts grabbed from Google back to display:fallback

As per recommendation from https://developers.google.com/web/updates/2016/02/font-display#fallback

* add target="_blank" to the footer links as well
2019-12-18 20:42:40 +01:00
squidfunk
b5ad4ac339 Reformatted HTML templates and moved L10N to inline JSON 2019-11-26 10:03:53 +01:00
squidfunk
e24f2a3d7e Removed remaining whitespace control tags 2019-06-15 15:23:03 +02:00
squidfunk
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +02:00
squidfunk
b36a725d30 Removed all whitespace from compiled files - saving 700 bytes per page (gzip) 2019-05-17 21:37:21 +02:00
squidfunk
cc47bb7464 Updated copyright year 2019-01-01 18:42:00 +01:00
Isaac Muse
a42fdb33ed Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates

* Revert disqus id change
2018-06-10 14:45:16 +02:00
squidfunk
c3cdb945a6 Updated copyright notice 2018-01-13 17:36:13 +01:00
squidfunk
7a0c464ed6 Fixed lost tab focus on collapsible navigation 2018-01-11 23:20:49 +01:00
squidfunk
809f943240 Fixed search bar stealing tab focus 2018-01-11 23:20:49 +01:00
squidfunk
9f513d6411 Added support for default localization and German translations 2017-10-19 21:11:18 +02:00
squidfunk
9c3134750e Fixed backward compatibility for localization 2017-10-18 21:56:53 +02:00
squidfunk
00911b7350 Improved passing i18n values to JavaScript 2017-10-18 20:44:15 +02:00
squidfunk
19feb7a67d Replaced ligatures with Unicode code points 2017-08-29 22:28:53 +07:00
squidfunk
d204b63ee4 Added search separator customization option 2017-07-27 23:27:27 +02:00
squidfunk
993fb4782c Improved markup of search dialogue for a11y 2017-07-25 16:04:56 +02:00
squidfunk
5305e3920a Added double quotes where possible 2017-06-01 22:20:46 +02:00
squidfunk
974f07ccb4 Added support for multilingual search 2017-06-01 00:40:10 +02:00
squidfunk
00b7e600a8 Merged master and implemented search overlay 2017-04-22 14:17:25 +02:00
squidfunk
50efda702a Focus search after reset 2017-03-24 20:02:27 +01:00
squidfunk
a2ff177885 Added reset button for search 2017-03-24 20:02:27 +01:00
squidfunk
675a75e000 Normalize placeholder names for search results 2017-03-16 16:12:53 +01:00
squidfunk
536554c18b Added support for search localization 2017-03-16 12:11:00 +01:00
squidfunk
22a2f084a1 Integrated static type-checking via JSDoc and Flow 2017-02-25 17:13:50 +01:00
squidfunk
364309d47a Restructured partials 2017-01-13 00:31:37 +01:00
squidfunk
cb9a563a78 Add access key attribute to search input 2017-01-09 22:13:13 +01:00
squidfunk
f37bb76d18 Update copyright 2017-01-06 19:11:18 +01:00
squidfunk
42d6525c50 Bring back i18n 2017-01-06 18:48:32 +01:00
squidfunk
5ef3ec7aa3 Add scrollfix for iOS 2016-12-29 14:19:26 +01:00
squidfunk
f6d9a91995 Unify access via data attributes 2016-12-26 14:47:50 +01:00
squidfunk
2fcfb551be Refactored JavaScript architecture 2016-12-15 15:55:40 +01:00
squidfunk
8cac945757 Finished full integration for CodeHilite 2016-10-30 10:36:18 +01:00
squidfunk
83c5c7512b Cleaned up search modal styles 2016-10-23 19:31:54 +02:00
squidfunk
95435e7035 Implemented basic search modal functionality 2016-10-23 10:21:37 +02:00
squidfunk
46f45bb8a9 Introduced ESLint for code style checks 2016-09-30 13:29:45 +02:00
squidfunk
9338045887 Refactored navigation and drawer 2016-09-23 11:56:25 +02:00