<feed xmlns='http://www.w3.org/2005/Atom'>
<title>szurubooru.git/client/html/expander.tpl, branch master</title>
<subtitle>Fork of Szurubooru with patches for running on a modern system sans Docker
</subtitle>
<id>https://git.jakob.space/szurubooru.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/szurubooru.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/'/>
<updated>2016-08-23T21:19:40Z</updated>
<entry>
<title>client/posts: show tag/note counters in expanders</title>
<updated>2016-08-23T21:19:40Z</updated>
<author>
<name>rr-</name>
</author>
<published>2016-08-23T21:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=7f4a2c1ceb3f1212874e61a40f50eecbc364ed52'/>
<id>urn:sha1:7f4a2c1ceb3f1212874e61a40f50eecbc364ed52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client/general: add empty href for link buttons</title>
<updated>2016-08-21T23:40:30Z</updated>
<author>
<name>rr-</name>
</author>
<published>2016-08-21T23:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=d5e197e6ea353e1d635c33b95cd342d51c5baf76'/>
<id>urn:sha1:d5e197e6ea353e1d635c33b95cd342d51c5baf76</id>
<content type='text'>
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 &lt;a/&gt; 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.
</content>
</entry>
<entry>
<title>client/expanders: extract HTML</title>
<updated>2016-08-21T23:40:30Z</updated>
<author>
<name>rr-</name>
</author>
<published>2016-08-21T22:53:53Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/szurubooru.git/commit/?id=c7f36c893fbd89c398162808ab615715eec54beb'/>
<id>urn:sha1:c7f36c893fbd89c398162808ab615715eec54beb</id>
<content type='text'>
</content>
</entry>
</feed>
