Nolan Lawson
4f9fb5f253
fix: settings pages preserve focus ( #1666 )
...
fixes #1658
2019-12-08 18:03:26 -08:00
Nolan Lawson
69d0038fc0
chore: update terser-webpack-plugin ( #1665 )
2019-12-08 13:55:51 -08:00
Sorin Davidoi
5f51bd5aad
fix(service-worker): Make API call to the right endpoint ( #1664 )
...
Closes #1663 .
2019-12-08 09:56:23 -08:00
Nolan Lawson
c071ac1174
refactor: refactor focus management ( #1662 )
2019-11-30 17:43:31 -08:00
Nolan Lawson
26e90d23de
chore: update file-loader and rollup ( #1661 )
2019-11-30 09:56:57 -08:00
Nolan Lawson
561357b48e
fix: add missing cache-control for gz/webapp files ( #1660 )
2019-11-28 10:26:01 -08:00
greenkeeper[bot]
3bf98804f5
chore: Update file-loader to the latest version 🚀 ( #1657 )
...
* fix(package): update file-loader to version 5.0.0
* chore(package): update lockfile yarn.lock
2019-11-27 07:22:08 -08:00
Nolan Lawson
29f42b137f
chore: update dev deps ( #1656 )
2019-11-24 12:12:01 -08:00
Nolan Lawson
957bdfc479
chore: update deps ( #1655 )
2019-11-24 12:11:54 -08:00
Timo Tijhof
9ce900c767
fix: Avoid autocapitalize keyboard for instance name ( #1653 )
...
* fix: Avoid autocapitalize keyboard for instance name
On iOS Safari (possibly other browsers as well), auto-capitalization is enabled
even for input fields with inputmode=url.
In my testing, the inputmode attribute is working supported and working (in so
far that iOS does consider it and and provides me a keyboard optimised for URL
inputs, with quick buttons for slash and .com etc).
The autocapitalize is supported on Safari, per:
https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize
Fixes https://github.com/nolanlawson/pinafore/issues/1652 .
* fix: Avoid spell check on Instance name field
Checking of spelling and grammar and automatic corrections thereof
are likely unwanted when entering the instance domain/URL.
2019-11-23 23:42:38 -08:00
Nolan Lawson
cbbf5abd7a
test: test for DOM listener memory leaks ( #1654 )
...
* test: test for DOM listener memory leaks
* fix whitespace change, unintended
2019-11-23 23:42:22 -08:00
Nolan Lawson
95ef639b21
test: add basic memory leak test ( #1650 )
...
* test: add basic memory leak test
* try to fix test
2019-11-23 19:11:15 -08:00
Nolan Lawson
14762c4a5f
1.15.5
2019-11-23 15:18:12 -08:00
Nolan Lawson
fec0c282c9
fix: make autosuggest list appear over modal dialog ( #1649 )
...
fixes #1645
2019-11-23 13:21:21 -08:00
Nolan Lawson
4221ce1c72
fix: media nav buttons should be a list ( #1648 )
...
More work on #1633 , improves accessibility of the media nav buttons by cleaning up the list and labels a bit.
2019-11-23 11:25:42 -08:00
Nolan Lawson
d03d223fd9
fix: remove aria-pressed entirely ( #1647 )
...
More progress on #1633
2019-11-23 11:25:36 -08:00
Nolan Lawson
1b95499008
fix: use radio buttons for pinning timelines ( #1644 )
...
* fix: use radio buttons for pinning timelines
more work on #1633
* cleanup styles
2019-11-17 23:02:05 -05:00
Nolan Lawson
568a3f51fe
fix: convert many toggle buttons into regular buttons ( #1643 )
...
work on #1633
2019-11-17 21:23:32 -05:00
greenkeeper[bot]
4bd51de61d
chore: Update fake-indexeddb to the latest version 🚀 ( #1638 )
...
* chore(package): update fake-indexeddb to version 3.0.0
* chore(package): update lockfile yarn.lock
2019-11-17 21:23:22 -05:00
Nolan Lawson
4903f2effa
perf: avoid aria-hidden="false" ( #1640 )
2019-11-17 20:51:44 -05:00
Nolan Lawson
6211402afc
chore: update rollup ( #1639 )
2019-11-17 20:51:36 -05:00
Nolan Lawson
92d77c34be
fix: use radiogroup for instance switcher ( #1634 )
...
* fix: use radiogroup for instance switcher
progress on #1633
* fixup
* add unique id
2019-11-17 20:51:28 -05:00
Nolan Lawson
53b6c5f6a1
chore: fix travis postgres, switch from bionic to xenial ( #1642 )
...
fixes #1641
2019-11-17 19:37:04 -05:00
Nolan Lawson
63c9f8dc32
fix: fix autocomplete in voiceover+safari ( #1632 )
...
* fix: fix autocomplete in voiceover+safari
fixes #1629
* fix test
* fix test
2019-11-09 23:01:32 -05:00
Nolan Lawson
07facea505
fix: improve autosuggest a11y ( #1630 )
...
* fix: improve autosuggest a11y
some progress on #1629
- works in Chrome on NVDA now
- works in Chrome on VoiceOver now
- shorter aria-labels, don't repeat information like "1 of 3", because
it causes the screen reader to speak too frequently, e.g. when the
selected result hasn't changed but the number of results has. Also both
NVDA and VoiceOver already speak this information
- stop doing a fancy fade animation, just show and hide the input
instantly. I worry it confuses screen readers to have the aria-hidden
attribute in there at all
- stop using a single id to identify the active descendant - give
immutable IDs and then update the aria-activedescendant instead. I think
this is what fixed Chrome.
* fix test
2019-11-09 20:38:29 -05:00
Nolan Lawson
c5a005186c
fix: fix more html entities in card titles ( #1628 )
2019-11-09 17:25:39 -05:00
Nolan Lawson
ea382acf1d
test: improve testcafe test flakiness, use config file ( #1627 )
2019-11-09 17:25:33 -05:00
Nolan Lawson
edc014cf8c
fix: more consistent toggle button aria-label/title ( #1626 )
...
* fix: more consistent toggle button aria-label/title
fixes #1624
* fixup
* fix test
2019-11-09 17:25:26 -05:00
Marcin Cieślak
f8356c2eaf
chore(package): update node-sass to 4.13.0 ( #1625 )
...
This makes deployments based on Node 13 easier.
2019-11-09 09:23:13 -05:00
greenkeeper[bot]
92634dc3ed
chore: Update form-data to the latest version 🚀 ( #1623 )
...
* fix(package): update form-data to version 3.0.0
* chore(package): update lockfile yarn.lock
2019-11-08 21:36:50 -05:00
Nolan Lawson
af1bb984c9
1.15.4
2019-11-01 17:46:54 -07:00
Nolan Lawson
da42c8b4c1
fix: fix circle in svg ( #1621 )
...
fixes #1616
2019-10-31 23:01:44 -07:00
Nolan Lawson
4ecb04588c
fix: fix custom emoji in polls ( #1619 )
...
fixes #1617
2019-10-31 23:01:35 -07:00
Nolan Lawson
ee492c1765
fix: change "add instance" to "log in" when not logged in ( #1614 )
2019-10-31 06:45:36 -07:00
Nolan Lawson
08cd8f645f
chore(package): update to svgo 1.3.2 ( #1613 )
...
* chore(package): update svgo to version 1.3.2
* chore(package): update lockfile yarn.lock
2019-10-30 07:50:05 -07:00
Nolan Lawson
b8d9c29bac
perf: move async modules to individual files ( #1611 )
2019-10-29 18:58:49 -07:00
Nolan Lawson
4bc8036dd9
chore: update arrow-key-navigation ( #1609 )
2019-10-29 18:58:41 -07:00
Nolan Lawson
bb85bcb32b
fix: switch to arrow-key-navigation library ( #1607 )
...
For left/right arrow key navigation, switch to a small library I made to
handle this. Also make it load asynchronously, because why not.
2019-10-28 08:16:51 -07:00
Nolan Lawson
e569c757d1
fix: fix kaios left-right navigation on inputs ( #1606 )
2019-10-27 11:12:02 -07:00
Nolan Lawson
cf2a6022dd
fix: fix regenerator error in legacy mode ( #1605 )
2019-10-27 11:11:57 -07:00
Cătălin Mariș
f17386c8cb
perf: Further optimize used SVGs ( #1603 )
2019-10-27 10:08:03 -07:00
Nolan Lawson
1b40631049
1.15.3
2019-10-24 21:58:40 -07:00
Nolan Lawson
9f12d1ca07
fix: use small modules for userAgent.js instead of terser magic ( #1602 )
2019-10-24 20:37:23 -07:00
Nolan Lawson
7c04b86405
fix: use smooth scroll polyfill in Chrome for scroll-to-top ( #1601 )
...
* fix: use smooth scroll polyfill in Chrome for scroll-to-top
* rename thunk to __thunk__ for safety
2019-10-24 19:03:10 -07:00
Nolan Lawson
0194a07823
perf: use raw html for some external links ( #1600 )
2019-10-24 19:03:03 -07:00
Vincent
852a8582fb
fix: Add the non-truncated text in the title attribute ( #1598 )
...
The `.card-title` element carries `text-overflow: ellipsis`, (and
`white-space: nowrap`), resulting in the last part of long article
titles not being visible. By adding it to the `title` attribute,
one can see the full title on hovering without having to visit the
article first.
The main concern I had was that the text is now technically
duplicated in the source code, and for short titles, also in the
UI. The primary concern there, however, was screen reader users
getting duplicate announcements. However, I believe the title
attribute is not announced by screen readers, which this (old)
article seems to confirm:
https://developer.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/
That leaves the following two disadvantages:
- This doesn't solve anything for mobile users, who will still
have to follow the link to see the full title.
- Desktop users can however a (non-truncated) title to see the same
title again.
2019-10-23 21:54:57 -07:00
Nolan Lawson
2b63afd4bb
1.15.2
2019-10-23 20:58:14 -07:00
Nolan Lawson
c174c19ddd
fix: fix tesseract.js progress bar ( #1599 )
...
* fix: fix tesseract.js progress bar
* fixup
2019-10-23 18:07:24 -07:00
Nolan Lawson
2a248cb482
fix: update tesseract to the latest version ( #1596 )
...
* chore: update tesseract to the latest version
* fix stuff
* fix delay
* fix caching, fixes #1457
2019-10-22 20:45:30 -07:00
Nolan Lawson
1d257ed92e
1.15.1
2019-10-18 19:17:55 -07:00