-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make links inside figure accessible for keyboard
For unknown reasons links inside <figure> elemenent are not accessible in Firefox for keyboard users.
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,10 @@ <h1>@json.get("name").get(Application.currentLang()).asText()<small> — @js | |
<p>@Html(Messages.get("index.development.text", "https://github.com/hbz/lobid-organisations#about", "https://github.com/hbz/lobid-organisations/issues/new", "https://github.com/hbz/lobid-organisations/graphs/contributors"))</p> | ||
</div> | ||
<div class="col-md-5"> | ||
<figure>@defining(routes.Application.get(item.get("isil").get("value").asText(), "")) { orgLink => | ||
<div id="figure" role="figure" aria-labelledby="caption">@defining(routes.Application.get(item.get("isil").get("value").asText(), "")) { orgLink => | ||
<a href='@orgLink'><img id="index-image" src='https://lobid.org/[email protected]("image").get("value").asText().replace("http:","https:")' title='@Messages.get("index.image.info")' alt="@label"/></a> | ||
<figcaption><a href='@orgLink'>@label</a><br/><small>(@Messages.get("index.image.source") @Html(attribution))</small></figcaption> | ||
}</figure> | ||
<p id="caption"><a href='@orgLink'>@label</a><br/><small>(@Messages.get("index.image.source") @Html(attribution))</small></p> | ||
}</div> | ||
</div> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,4 +153,9 @@ h6 .small, | |
.h5 .small, | ||
.h6 .small { | ||
color: #666; | ||
} | ||
|
||
#figure { | ||
float: right; | ||
text-align: right; | ||
} |