Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
exosphere
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Exosphere
exosphere
Commits
05dbfdd4
Commit
05dbfdd4
authored
3 years ago
by
Jaladh Singhal
Browse files
Options
Downloads
Patches
Plain Diff
Added aria-role since HTML semantics were not followed
parent
ad5d1271
No related branches found
Branches containing commit
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Style/Widgets/Meter.elm
+2
-2
2 additions, 2 deletions
src/Style/Widgets/Meter.elm
with
2 additions
and
2 deletions
src/Style/Widgets/Meter.elm
+
2
−
2
View file @
05dbfdd4
...
...
@@ -3,6 +3,7 @@ module Style.Widgets.Meter exposing (meter)
import
Element
import
Element
.
Background
as
Background
import
Element
.
Font
as
Font
import
Html
.
Attributes
as
HtmlA
import
Style
.
Helpers
as
SH
import
Style
.
Types
exposing
(
ExoPalette
)
...
...
@@ -18,12 +19,11 @@ meter palette title subtitle value maximum =
[
Element
.
text
title
,
Element
.
el
[
Element
.
alignRight
]
(
Element
.
text
subtitle
)
]
{- TODO: Add aria attributes using Html.Attribute.attribute or try element.region -}
,
Element
.
row
[
Element
.
width
(
Element
.
px
260
)
,
Element
.
height
(
Element
.
px
25
)
,
Background
.
color
(
SH
.
toElementColorWithOpacity
palette
.
primary
0.15
)
,
Element
.
htmlAttribute
(
HtmlA
.
attribute
"
role"
"
progressbar"
)
]
[
Element
.
el
[
Element
.
width
(
Element
.
fillPortion
value
)
...
...
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