Bug 25922: Fix typo 'arial-label' -> 'aria-label'
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 73ff914d5d)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
21be26f25b
commit
48ba19be8e
|
|
@ -117,7 +117,7 @@ sub text_extract {
|
|||
# value [tag=input], meta
|
||||
my $tag;
|
||||
$tag = lc($1) if $t =~ /^<(\S+)/s;
|
||||
for my $a ('alt', 'content', 'title', 'value', 'label', 'placeholder', 'arial-label') {
|
||||
for my $a ('alt', 'content', 'title', 'value', 'label', 'placeholder', 'aria-label') {
|
||||
if ($attr->{$a}) {
|
||||
next if $a eq 'label' && $tag ne 'optgroup';
|
||||
next if $a eq 'content' && $tag ne 'meta';
|
||||
|
|
|
|||
Loading…
Reference in New Issue