mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/Omnibox: add aria label for loading captcha state
This commit is contained in:
parent
1473f220cb
commit
490bdb729e
2 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"link_area": "link input area",
|
||||
"link_area.turnstile": "link input area. checking if you're not a robot.",
|
||||
"clear_input": "clear input",
|
||||
"download": "download",
|
||||
"download.think": "processing the link...",
|
||||
|
|
|
@ -140,7 +140,10 @@
|
|||
class:focused={isFocused}
|
||||
class:downloadable={validLink($link)}
|
||||
>
|
||||
<div id="input-link-icon" class:loading={isLoading || isBotCheckOngoing}>
|
||||
<div
|
||||
id="input-link-icon"
|
||||
class:loading={isLoading || isBotCheckOngoing}
|
||||
>
|
||||
{#if isLoading || isBotCheckOngoing}
|
||||
<IconLoader2 />
|
||||
{:else}
|
||||
|
@ -160,7 +163,9 @@
|
|||
autocapitalize="off"
|
||||
maxlength="512"
|
||||
placeholder={$t("save.input.placeholder")}
|
||||
aria-label={$t("a11y.save.link_area")}
|
||||
aria-label={isBotCheckOngoing
|
||||
? $t("a11y.save.link_area.turnstile")
|
||||
: $t("a11y.save.link_area")}
|
||||
data-form-type="other"
|
||||
disabled={isDisabled}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue