• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coreui / coreui-pro / 31190689762
93%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 07 Aug 2026 03:04PM UTC
Jobs 1
Files 61
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 03:03PM UTC coverage: 92.972% (-0.003%) from 92.975%
31190689762

push

github

web-flow
fix(Button): expose aria-pressed on every toggle button (#706)

`aria-pressed` has no default value, so a toggle button that ships without
it is announced as a plain button and its pressed state is never conveyed.
The attribute only appeared once `toggle()` had run, which means the very
first announcement was wrong.

Add the missing attribute to every `[data-coreui-toggle="button"]` on
`DOMContentLoaded`, reading the `.active` class to pick the value, and
document the attribute in the markup examples so it is correct before the
JavaScript runs.

The `setAriaAttribute` helper keeps the boolean-to-string conversion in one
place, which also drops the cast `toggle()` needed to satisfy
`setAttribute`.

Ported from twbs/bootstrap#42797. React's `CButton` already renders
`aria-pressed` whenever `toggle` is set, so no parity fix is needed there.

4270 of 4823 branches covered (88.53%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

8285 of 8681 relevant lines covered (95.44%)

362.54 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
64.63
-0.61% js/src/navigation.ts
Jobs
ID Job ID Ran Files Coverage
1 31190689762.1 07 Aug 2026 03:04PM UTC 61
92.97
GitHub Action Run
Source Files on build 31190689762
  • Tree
  • List 61
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31190689762
  • 9dd39087 on github
  • Prev Build on v6-dev (#31098115574)
  • Next Build on v6-dev (#31190692618)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc