forked from Mirrors/keyoxide-web
Improve accessibility
This commit is contained in:
parent
2f8a547183
commit
205162cd35
2 changed files with 21 additions and 10 deletions
|
@ -36,14 +36,17 @@ block content
|
||||||
#search.form-wrapper.card
|
#search.form-wrapper.card
|
||||||
h2 Generate a profile
|
h2 Generate a profile
|
||||||
form(action="post")
|
form(action="post")
|
||||||
input(type="search" name="query" required placeholder="3637202523e7c1309ab79e99ef2dc5827b445f4b, test@doip.rocks")
|
label(for="query") Query for fingerprint or email identifier
|
||||||
div.radio-wrapper
|
input#query(type="search" name="query" required placeholder="3637202523e7c1309ab79e99ef2dc5827b445f4b, test@doip.rocks")
|
||||||
|
|
||||||
|
fieldset(aria-role="radiogroup").radio-wrapper
|
||||||
|
legend Protocol
|
||||||
input#protocol-hkp(type="radio" name="protocol" value="hkp" checked="true")
|
input#protocol-hkp(type="radio" name="protocol" value="hkp" checked="true")
|
||||||
label(for="protocol-hkp") HKP
|
label(for="protocol-hkp" tabindex="0") HKP
|
||||||
input#protocol-wkd(type="radio" name="protocol" value="wkd")
|
input#protocol-wkd(type="radio" name="protocol" value="wkd")
|
||||||
label(for="protocol-wkd") WKD
|
label(for="protocol-wkd" tabindex="0") WKD
|
||||||
input#protocol-sig(type="radio" name="protocol" value="sig")
|
input#protocol-sig(type="radio" name="protocol" value="sig")
|
||||||
label(for="protocol-sig") Signature
|
label(for="protocol-sig" tabindex="0") Signature
|
||||||
input(type="submit" value="Generate profile")
|
input(type="submit" value="Generate profile")
|
||||||
|
|
||||||
if highlights.length > 0
|
if highlights.length > 0
|
||||||
|
@ -51,7 +54,7 @@ block content
|
||||||
.hcards.hcards--highlights
|
.hcards.hcards--highlights
|
||||||
each hl in highlights
|
each hl in highlights
|
||||||
.card.card--small-profile
|
.card.card--small-profile
|
||||||
p.name= hl.name
|
h3.name= hl.name
|
||||||
p
|
p
|
||||||
span.fingerprint= hl.fingerprint
|
span.fingerprint= hl.fingerprint
|
||||||
br
|
br
|
||||||
|
|
|
@ -59,18 +59,26 @@ block content
|
||||||
dialog#dialog--encryptMessage
|
dialog#dialog--encryptMessage
|
||||||
div
|
div
|
||||||
form(method='post')
|
form(method='post')
|
||||||
textarea.input(name='message' placeholder='Message')
|
label(for="encryptionInput") Message to encrypt
|
||||||
|
textarea#encryptionInput.input(name='message')
|
||||||
input.no-margin(type='submit' name='submit' value='ENCRYPT MESSAGE')
|
input.no-margin(type='submit' name='submit' value='ENCRYPT MESSAGE')
|
||||||
textarea.output(name='message' placeholder='Waiting for input' readonly)
|
br
|
||||||
|
br
|
||||||
|
label(for="encryptionOutput") Encryption result
|
||||||
|
textarea#encryptionOutput.output(name='message' placeholder='Waiting for input' readonly)
|
||||||
form(method="dialog")
|
form(method="dialog")
|
||||||
input(type="submit" value="Close")
|
input(type="submit" value="Close")
|
||||||
|
|
||||||
dialog#dialog--verifySignature
|
dialog#dialog--verifySignature
|
||||||
div
|
div
|
||||||
form(method='post')
|
form(method='post')
|
||||||
textarea.input(name='signature' placeholder='Signature')
|
label(for="sigVerInput") Signature
|
||||||
|
textarea#sigVerInput.input(name='signature')
|
||||||
input.no-margin(type='submit' name='submit' value='VERIFY SIGNATURE')
|
input.no-margin(type='submit' name='submit' value='VERIFY SIGNATURE')
|
||||||
textarea.output(name='message' placeholder='Waiting for input' readonly)
|
br
|
||||||
|
br
|
||||||
|
label(for="sigVerOutput") Verification result
|
||||||
|
textarea#sigVerOutput.output(name='message' placeholder='Waiting for input' readonly)
|
||||||
form(method="dialog")
|
form(method="dialog")
|
||||||
input(type="submit" value="Close")
|
input(type="submit" value="Close")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue