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

PHPOffice / PHPPresentation / 32171395548
93%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 06:33PM UTC
Jobs 1
Files 141
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

18 Aug 2026 06:30PM UTC coverage: 92.084% (+0.4%) from 91.64%
32171395548

push

github

web-flow
Expose an alternative text on every shape (#898)

* feat: expose an alternative text on every shape

Only drawings (and, through them, charts and tables) carried a description, and
it was written by the PowerPoint2007 writer alone. Text boxes, auto shapes,
groups and lines had no way to tell assistive technologies what they are, so a
presentation built from them cannot satisfy WCAG 1.1.1 — and nothing at all was
exported to ODPresentation.

Move `description` up from `Shape\AbstractGraphic` to `AbstractShape`, write it
as the `descr` attribute of `p:cNvPr` for every shape kind in PowerPoint2007 and
as the `svg:desc` child element in ODPresentation, and read it back in both
readers. `svg:desc` is placed where each ODF shape element expects it: first in
`draw:line` and `draw:g`, last in `draw:frame`.

* docs: changelog entry for the shape description

* test: the readers give the description back

Both readers learned to read the description in this branch, but nothing
held them to it. A save and load of every shape kind they load asserts
the alternative text survives the round trip, including the fall back to
the shape name for documents written before `svg:desc` was written.

* style: the import order php-cs-fixer asks for

25 of 25 new or added lines in 5 files covered. (100.0%)

10074 of 10940 relevant lines covered (92.08%)

43.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32171395548.1 18 Aug 2026 06:33PM UTC 141
92.08
GitHub Action Run
Source Files on build 32171395548
  • Tree
  • List 141
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a67d5080 on github
  • Prev Build on master (#32119246456)
  • Next Build on master (#32178444798)
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