Skip to content

Bump apexcharts from 5.10.6 to 5.11.0 in /ui/changes#6038

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ui/changes/apexcharts-5.11.0
Closed

Bump apexcharts from 5.10.6 to 5.11.0 in /ui/changes#6038
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/ui/changes/apexcharts-5.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps apexcharts from 5.10.6 to 5.11.0.

Release notes

Sourced from apexcharts's releases.

💎 Version 5.11.0

Highlights

WCAG 2.2 AA Accessibility Remediation

ApexCharts 5.11.0 ships a comprehensive accessibility overhaul targeting WCAG 2.2 Level AA conformance.

Keyboard & Focus

  • Focused data points now expose role="img" and a contextual aria-label (series name, formatted value, category).
  • Two-stage Escape: first press dismisses the tooltip, second press exits keyboard navigation (WCAG technique G194).
  • Keyboard zoom/pan via + / - / 0 and Shift+Arrow as alternatives to drag gestures.
  • Toolbar hit targets enlarged to 24×24 CSS px minimum.
  • Tooltip is biased away from the focused data point during keyboard navigation.

ARIA & Semantics

  • SVG <title> added alongside the existing <desc>; auto-generated aria-label includes series names when no description is supplied.
  • Toolbar controls migrated from div[role=button] to native <button type="button"> (first rule of ARIA)
  • Visually-hidden role="status" aria-live="polite" region announces zoom/pan/reset actions to screen readers.

Visual & Motion

  • New --apexcharts-focus-color CSS custom property, themed for light (#008FFB), dark (#FFD500), and high-contrast (#FFFF00) modes — fixes SC 1.4.11 / 2.4.7.
  • Utils.getContrastRatio() WCAG luminance helper added; high-contrast palette validated ≥ 3:1 against #fff in automated tests — fixes SC 1.4.3 / 1.4.11.
  • @media (prefers-reduced-motion: reduce) shrinks all chart animations to near-zero duration — fixes SC 2.2.2.

Tests added: contrast.spec.js, keyboard-trap.spec.js (Playwright), keyboard-zoom.spec.js (Playwright), extended accessibility.spec.js and keyboard-navigation.spec.js.


Improved Tooltip Hit Detection for Line / Area Charts

closestInMultiArray now projects the cursor onto each consecutive line segment rather than measuring distance to the nearest marker. This makes clicking between two markers on a line or area chart reliably pick the correct series — previously, whichever series's marker happened to be closest to the empty space was selected, often giving wrong results when many series clustered together. Bar, scatter, and other non-line chart types retain the existing marker-distance logic.


Bug Fixes

  • Tooltip — shared: false on line charts (#4983): closestInMultiArray was ignoring Y distance whenever allSeriesHasEqualX was true, causing a tie across all series so the lowest-index series always won. The X-only fast path is now restricted to shared: true; full Euclidean distance is used otherwise, so the actually-hovered series is correctly identified.

  • Tooltip — shared: true markerClick : Line chart with shared: true now correctly reports the clicked series index in the markerClick event callback.

  • Focus outline on mouse click: Removed the focus outline that incorrectly appeared around the entire chart container on mouse click; focus styles are now shown only during keyboard navigation.

Commits
  • da55ac3 release: 5.11.0
  • 66cd035 feat(a11y): WCAG 2.2 AA remediation
  • 96b85f4 feat(tooltip): use segment distance for line/area click detection
  • edbe1a9 fix: update tooltip tests continuing the fix for #3439
  • eaaa752 fix(tooltip): add a sample to illustrate shared-tooltip-click
  • ed453bb fix(tooltip): line chart shared:true now reports clicked series in markerClick
  • 787f3d0 Merge branch 'main' of https://github.com/apexcharts/apexcharts.js
  • bac5485 Fixes #4983; show hovered series in line chart with shared:false
  • cbc82af Merge pull request #5208 from apexcharts/dependabot/npm_and_yarn/follow-redir...
  • 87ebedb Merge pull request #5210 from apexcharts/dependabot/npm_and_yarn/postcss-8.5.13
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 5.10.6 to 5.11.0.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](apexcharts/apexcharts.js@v5.10.6...v5.11.0)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-version: 5.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 19, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 26, 2026

Superseded by #6052.

@dependabot dependabot Bot closed this May 26, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/ui/changes/apexcharts-5.11.0 branch May 26, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants