gallery.accords-library.com/client
rr- d5e197e6ea client/general: add empty href for link buttons
In e464e69 I removed href='#' but I noticed that it broke some things.
Readding href serves two purposes:

- it makes links reachable with Tab key
- it makes links clickable with Enter key

The alternative to this approach was to introduce [tabindex] and [role]
attributes. But not only using tabindex=0 with <a/> is questionable,
it'd require adding a keyboard handler that'd intercept space and return
key presses and simulated link clicks. Since it's best to leave this
kind of thing to the native UI, I went with readding hrefs instead. I
believe that hash hrefs, even though being a common practice, are silly,
so I decided to settle down with empty hrefs.

As a bonus, I added a snippet that prevents middle mouse clicks from
opening such links/buttons in new tabs, which was the motivation for
e464e69.
2016-08-22 01:40:30 +02:00
..
css client/expanders: change appearance 2016-08-22 01:40:30 +02:00
html client/general: add empty href for link buttons 2016-08-22 01:40:30 +02:00
img client/posts: add transparency grid 2016-06-11 22:34:01 +02:00
js client/general: add empty href for link buttons 2016-08-22 01:40:30 +02:00
public client/build: Google Droid Sans → local Open Sans 2016-05-21 14:02:08 +02:00
.babelrc client/build: transpile ES6 for older browsers 2016-04-13 20:13:10 +02:00
.jscsrc client/build: remove babel when not transpiling 2016-05-21 00:08:43 +02:00
build.js client/build: fix minifying adding ghost spaces 2016-07-30 23:12:32 +02:00
package.json client/router: introduce own router 2016-06-12 21:43:20 +02:00