Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_suite_bootstrap
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_suite_bootstrap
Commits
d290fcd6
Commit
d290fcd6
authored
4 months ago
by
Florent Torregrosa
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3496586
by grimreaper: Accessibility: submit icon only
parent
6c906819
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!249
Issue #3496586 by grimreaper: Accessibility: submit icon only
Pipeline
#387174
passed
4 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/input/input--button.html.twig
+4
-1
4 additions, 1 deletion
templates/input/input--button.html.twig
with
4 additions
and
1 deletion
templates/input/input--button.html.twig
+
4
−
1
View file @
d290fcd6
...
...
@@ -31,7 +31,10 @@
{%
elseif
icon
and
icon_position
==
'after'
%}
<button
{{
attributes.addClass
(
classes
)
}}
>
{{
label
}}{{
icon
}}
</button>
{%
elseif
icon
and
icon_position
==
'icon_only'
%}
<button
{{
attributes.addClass
(
classes
)
}}
>
{{
icon
}}
</button>
<button
{{
attributes.addClass
(
classes
)
}}
>
<span
class=
"visually-hidden"
>
{{
label
}}
</span>
{{
icon
}}
</button>
{%
else
%}
<button
{{
attributes.addClass
(
classes
)
}}
>
{{
label
}}
</button>
{%
endif
%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment