mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-23 22:34:18 -06:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d3fbe1234 | ||
|
|
9db2fa0ca9 | ||
|
|
2d031bb6b6 | ||
|
|
14ff0938ff | ||
|
|
26620f59be |
@@ -5,16 +5,16 @@ version: 'v0.0.3'
|
||||
workflows:
|
||||
'.github/workflows/ci.yml':
|
||||
- 'actions/checkout@v7.0.1'
|
||||
- 'step-security/harden-runner@v2.23.0'
|
||||
- 'step-security/harden-runner@v2.22.4'
|
||||
'.github/workflows/freebsd.yml': []
|
||||
'.github/workflows/house-rules.yml': []
|
||||
'.github/workflows/lockfile.yml':
|
||||
- 'actions/checkout@v7.0.1'
|
||||
- 'step-security/harden-runner@v2.23.0'
|
||||
- 'step-security/harden-runner@v2.22.4'
|
||||
'.github/workflows/nix.yml': []
|
||||
'.github/workflows/packaging-lint.yml':
|
||||
- 'actions/checkout@v7.0.1'
|
||||
- 'step-security/harden-runner@v2.23.0'
|
||||
- 'step-security/harden-runner@v2.22.4'
|
||||
'.github/workflows/release.yml': []
|
||||
'.github/workflows/sonarcloud.yml': []
|
||||
'.github/workflows/windows-arm64.yml': []
|
||||
@@ -24,8 +24,8 @@ dependencies:
|
||||
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'step-security/harden-runner@v2.23.0':
|
||||
ref: 'v2.23.0'
|
||||
commit: 'sha1-aebdcf6156ab6691adf63218240e476564a1ed4c'
|
||||
'step-security/harden-runner@v2.22.4':
|
||||
ref: 'v2.22.4'
|
||||
commit: 'sha1-1d88384fd173af6ecb012dfd0264a306b711241a'
|
||||
owner_id: 88700172
|
||||
repo_id: 422287306
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
CRAFT_FONTS_REF: 37827adc41fd165f9a9234ac40f94dbad353aa69
|
||||
steps:
|
||||
- name: Harden runner
|
||||
uses: step-security/harden-runner@v2.23.0
|
||||
uses: step-security/harden-runner@v2.22.4
|
||||
with:
|
||||
egress-policy: audit
|
||||
- name: Check out craft-fonts
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Harden runner
|
||||
uses: step-security/harden-runner@v2.23.0
|
||||
uses: step-security/harden-runner@v2.22.4
|
||||
with:
|
||||
egress-policy: audit
|
||||
- uses: actions/checkout@v7.0.1
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Harden runner
|
||||
uses: step-security/harden-runner@v2.23.0
|
||||
uses: step-security/harden-runner@v2.22.4
|
||||
with:
|
||||
egress-policy: audit
|
||||
- uses: actions/checkout@v7.0.1
|
||||
|
||||
@@ -59,3 +59,4 @@ jobs:
|
||||
AZURE_SIGNING_ACCOUNT: ${{ secrets.AZURE_SIGNING_ACCOUNT }}
|
||||
AZURE_CERT_PROFILE: ${{ secrets.AZURE_CERT_PROFILE }}
|
||||
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
|
||||
ARTCRAFT_SERVICES_DISPATCH_TOKEN: ${{ secrets.ARTCRAFT_SERVICES_DISPATCH_TOKEN }}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
# Accessibility
|
||||
|
||||
Source: `standards/app-accessibility.md` in [storytold/craft-contrib](https://github.com/storytold/craft-contrib/blob/main/standards/app-accessibility.md); do not edit this copy directly. Propose changes to the shared statement in [`storytold/craft-contrib`](https://github.com/storytold/craft-contrib).
|
||||
|
||||
We build the Craft applications so everyone can create, edit, and share work—including people who use screen readers, braille displays, screen magnifiers, voice control, high contrast, large text, reduced motion, or keyboard-only navigation.
|
||||
|
||||
## Priorities and target standard
|
||||
|
||||
- **Desktop builds** aim to meet **WCAG 2.2 Level AA** as applied to non-web software by W3C's [WCAG2ICT](https://www.w3.org/TR/wcag2ict-22/) (matching EN 301 549 Chapter 11).
|
||||
- **Web builds** (where published) aim to meet **[WCAG 2.2 Level AA](https://www.w3.org/TR/WCAG22/)** directly.
|
||||
- Accessibility is treated as a core engineering requirement alongside stability ([RFC-0014](https://github.com/storytold/craft-contrib/blob/main/rfcs/0014-accessibility.md)): every UI change is expected to support keyboard operation, real focus management, assistive-technology semantics, sufficient colour contrast, and spoken feedback.
|
||||
|
||||
## How accessibility works and supported environments
|
||||
|
||||
The Craft applications render their own interface in Rust using `egui` and expose accessibility trees to the operating system or browser through **AccessKit**:
|
||||
|
||||
- **Windows:** UI Automation (tested with Accessibility Insights / Axe.Windows; intended for NVDA, JAWS, and Narrator)
|
||||
- **macOS:** NSAccessibility (Accessibility Inspector; VoiceOver)
|
||||
- **Linux and FreeBSD:** AT-SPI (Accerciser; Orca)
|
||||
- **Web (WebAssembly):** Browser accessibility tree in modern evergreen browsers
|
||||
- **Visual and motion settings:** Light and dark themes with at least 4.5:1 text contrast and 3:1 control and focus-indicator contrast, plus respect for system high-contrast, text-scaling, and reduced-motion preferences
|
||||
- **Headless and command-line workflows:** Most Craft applications also ship a command-line and automation binary (`<app>-cli`) capable of inspecting and modifying documents from a terminal without driving the graphical interface; see [This application](#this-application) below
|
||||
|
||||
**Current verification status:** The Craft suite is in active early-alpha development. Automated widget-name checks (`egui_kittest`) run in tests, and platform accessibility checks are rolling out across repositories, but comprehensive manual screen-reader, braille, magnifier, and voice-control verification has not yet been completed across every surface.
|
||||
|
||||
## Known limitations and workarounds
|
||||
|
||||
These suite-wide barriers are actively tracked (shared framework work lives in [storytold/craft-libs#437](https://github.com/storytold/craft-libs/issues/437)):
|
||||
|
||||
- **Custom drawn surfaces (canvases, pages, grids, timelines, node graphs, and layer lists):** Some custom-painted views do not yet expose complete `AccessKit` nodes, caret bounds for magnifiers, or accurate editability states (for example, `AccessKit`'s Windows adapter reporting `Document` nodes as read-only, which can prevent typing echo in screen readers). *Workaround:* Use structured inspector panels where available, or run headless commands through `<app>-cli` when a task does not require interactive canvas drawing.
|
||||
- **Focus in menus, toolbars, and dialogs:** Some popups, menus, or keyboard access-key overlays may leave focus in the underlying document or fail to restore focus when closed. *Workaround:* Press `Escape` to dismiss open popups, `Alt` or `F10` for menu/toolbar navigation, and `F6` to cycle major regions where supported.
|
||||
- **Unannounced state changes:** Actions triggered away from focus—such as toggling formatting by keyboard shortcut or background export completion—do not yet consistently announce updates through a live region.
|
||||
- **Drag-dependent interactions:** Certain timeline, node-wiring, or object-manipulation gestures still lack complete non-dragging keyboard equivalents outside freehand drawing.
|
||||
|
||||
See [This application](#this-application) below for issues specific to this repository.
|
||||
|
||||
## Reporting an accessibility barrier
|
||||
|
||||
If something gets in your way, please open an issue using the link in [This application](#this-application) below (or let us know in the [ArtCraft Discord](https://discord.gg/artcraft) if GitHub's issue form is itself a barrier).
|
||||
|
||||
- **No personal disclosure required:** You never need to disclose a disability or explain why you use assistive technology.
|
||||
- **Screenshots and recordings are optional:** Plain-text descriptions are always enough.
|
||||
- **Helpful context to include (when available):**
|
||||
- The task you were trying to complete, what happened, and what you expected
|
||||
- Application version (or commit) and operating system or browser
|
||||
- Input method, display settings, or assistive technology and version (for example, NVDA, JAWS, Narrator, VoiceOver, Orca, screen magnifier, high contrast, 200% text scaling, or keyboard-only)
|
||||
|
||||
## How we respond and prioritize
|
||||
|
||||
- **Triage and labels:** Maintainers and triagers apply the `accessibility` label ("Barrier affecting people with disabilities") and assign priority during triage.
|
||||
- **Priority levels:** A barrier encountered with assistive technology or keyboard navigation is treated as a reproduced functional bug. Barriers that block a core task (opening, creating, editing, saving, reaching menus, or using dialogs) are triaged as `priority: high`; barriers that risk data or work loss are `priority: critical`.
|
||||
- **Verification builds (`needs screen reader test`):** Pull requests that fix a reported assistive-technology barrier or implement custom accessibility-tree or focus logic receive the `needs screen reader test` label. While manual testing never blocks merging fixes that pass automated checks, the label remains until someone verifies a build with assistive technology and posts what they observed; if the barrier remains, we reopen the issue.
|
||||
|
||||
## Expectations for contributors and coding agents
|
||||
|
||||
Every contributor and coding agent changing user interface code is expected to follow the Craft suite's [Accessibility standard](https://github.com/storytold/craft-contrib/blob/main/standards/accessibility.md) and the repository's `AGENTS.md`:
|
||||
|
||||
1. Ensure every action works by keyboard in visual order with no focus trap (`Escape` closes popups and restores focus), and provide non-dragging alternatives for pointer gestures.
|
||||
2. Move real `egui` focus (`request_focus`) rather than painting visual highlights alone, and expose accurate roles, translated names starting with visible labels, states, values, and platform-formatted shortcuts.
|
||||
3. Maintain at least 4.5:1 text contrast and 3:1 control/focus contrast across light and dark themes, and never rely on colour alone.
|
||||
4. Keep `egui_kittest` accessibility checks enabled, add keyboard and accessibility-tree assertions where warranted, and inspect the accessibility tree alongside any `ui.screenshot` check.
|
||||
5. Include an honest **Accessibility** section in UI pull requests stating what automated tree checks covered and what still needs human assistive-technology testing—never claim "works with screen readers" from tree tests alone.
|
||||
|
||||
## Ownership and maintenance
|
||||
|
||||
This statement and our accessibility practices are maintained by the `craft-app-team` maintainers in [`storytold`](https://github.com/storytold). Changes to the shared statement go through [`storytold/craft-contrib`](https://github.com/storytold/craft-contrib); repository-specific details live below.
|
||||
|
||||
## This application
|
||||
|
||||
**DeckCraft** (`storytold/deckcraft`) is an open-source presentation and slide-show editor written in pure Rust.
|
||||
|
||||
- **Published application builds:** macOS, Windows, Linux, FreeBSD, and Web (WebAssembly)
|
||||
- **Command-line and automation interface:** `deckcraft-cli` provides headless terminal and automation access for scripted workflows without the graphical interface
|
||||
- **Report an accessibility barrier:** [Open an issue in `storytold/deckcraft`](https://github.com/storytold/deckcraft/issues/new)
|
||||
- **Tracked accessibility issues:** [Open issues labelled `accessibility` in `storytold/deckcraft`](https://github.com/storytold/deckcraft/issues?q=is%3Aissue+state%3Aopen+label%3Aaccessibility)
|
||||
- **Pull requests awaiting assistive-technology verification:** [Pull requests labelled `needs screen reader test` in `storytold/deckcraft`](https://github.com/storytold/deckcraft/pulls?q=is%3Apr+label%3A%22needs+screen+reader+test%22)
|
||||
- **Contributor and agent rules for this repository:** [`AGENTS.md`](AGENTS.md)
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-20 · **Change:** trivial (progress log: WMF scale and offset mapping records place sub-pictures, #2069; scores unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-16 · **Change:** trivial (progress log: every slide as PNG or JPEG from File › Export › Change File Type and Save As, #2019; scores unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-15 · **Change:** trivial (DeckCraft v0.19.0 version preparation (#2134); the SmartArt and WordArt display names become Diagram and Decorative Text (#1981) in DeckCraft's own feature labels — commands, contextual tab labels and messages — with the neutral labels guarded by tests (the PowerPoint-matching empty-diagram placeholder prompt still reads "Click icon to add SmartArt graphic", and saved control-channel identifiers such as the tab id "SmartArt Design" keep their keys); the wasm32 build no longer refers to the native-only opening generation (#1954); the control-protocol method reference is corrected (#2132); parity scores unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-14 · **Change:** minor (a slide the show advances to again plays its animations again, #2090; slide-list entries with missing relationships are reported as lost slides and open as repaired copies; the Opus decoder and the Ogg, MP4 and Matroska demuxers come from craft-libs; empty notes slides are kept through PPTX and native saves, #2025; parity scores unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-09 · **Change:** minor (progress log: PowerPoint 97–2003 `.ppt`/`.pot`/`.pps` import, #239) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-11-04 · **Last updated:** 2026-11-07 · **Change:** trivial (progress log: text in a group whose child coordinates scale its shapes is placed for export where the slide draws it; parity scores unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
@@ -161,6 +162,7 @@ app's JSON control channel (`deckcraft --control PORT`).
|
||||
|---|---|
|
||||
| 2026-11-20 | WMF pictures that draw sub-pictures through the scale and offset mapping records (charts and clip art from older Office versions) place each one in its part of the frame (#2069) |
|
||||
| 2026-11-16 | Export: every slide as its own PNG or JPEG picture from File › Export › Change File Type and File › Save As; the Export… dialog adds JPEG images (all slides) (#2019) |
|
||||
| 2026-11-15 | DeckCraft v0.19.0 version preparation (#2134); the SmartArt and WordArt display names become Diagram and Decorative Text in DeckCraft's own feature labels — commands, contextual tab labels and messages — with the neutral labels guarded by tests; the wasm32 build no longer refers to the native-only opening generation (#1954); the control-protocol method reference is corrected (#2132) |
|
||||
| 2026-11-14 | Slide show: a slide the show advances to again (click, →, Space, automatic advance or a loop) starts over, so its animations play again, as in PowerPoint. Back and links still show it as it was left (#2090) |
|
||||
| 2026-11-11 | PPTX: a slide whose notes slide has empty text retains its notesSlide part and relationship on save and reopen (#2025); empty notes slides survive native round trips |
|
||||
| 2026-11-11 | Media: the Opus decoder and the Ogg, MP4/MOV and Matroska demuxers are craft-audio and craft-media from craft-libs; DeckCraft's own copies and re-export crates are removed |
|
||||
@@ -355,6 +357,7 @@ app's JSON control channel (`deckcraft --control PORT`).
|
||||
|---|---|---|
|
||||
| 2026-11-20 | trivial | Progress log: WMF scale and offset mapping records (#2069); scores unchanged |
|
||||
| 2026-11-16 | trivial | Progress log: export all slides as PNG or JPEG from the File tab (#2019); scores unchanged |
|
||||
| 2026-11-15 | trivial | v0.19.0 version preparation; Diagram and Decorative Text naming (#1981) scoped to DeckCraft's own labels — the PowerPoint-matching empty-placeholder prompt still reads "Click icon to add SmartArt graphic" and saved control-channel identifiers keep their keys; wasm32 fix (#1954); control-protocol reference fix (#2132); parity scores unchanged |
|
||||
| 2026-11-14 | trivial | Progress log: a slide the show advances to again plays its animations again (#2090); parity scores unchanged |
|
||||
| 2026-11-11 | minor | Progress log: empty notes slides preserved on PPTX/native save (#2025); parity scores unchanged |
|
||||
| 2026-11-11 | trivial | Opus and container code moved to craft-libs crates; parity scores unchanged |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# DeckCraft vs Microsoft PowerPoint: parity assessment
|
||||
|
||||
> **Last reviewed:** 2026-10-14 · **Last updated:** 2026-11-02 · **Change:** trivial (reused slide contents fit the destination size; thumbnails remain; parity estimates unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
> **Last reviewed:** 2026-10-14 · **Last updated:** 2026-11-15 · **Change:** trivial (DeckCraft v0.19.0 version preparation; the SmartArt and WordArt display names become Diagram and Decorative Text in DeckCraft's own feature labels — commands, contextual tab labels and messages — with the neutral labels guarded by tests (the PowerPoint-matching empty-diagram placeholder prompt still reads "Click icon to add SmartArt graphic", and saved control-channel identifiers such as the tab id "SmartArt Design" keep their keys); the wasm32 build no longer refers to the native-only opening generation; the control-protocol method reference is corrected; previous: reused slide contents fit the destination size; thumbnails remain; parity estimates unchanged) · **Target:** Microsoft PowerPoint for Mac 16.113 (Microsoft 365)
|
||||
|
||||
The authoritative answer to "how close is DeckCraft to PowerPoint, and how much work is left?".
|
||||
[ROADMAP.md](../ROADMAP.md) summarizes it; [gaps.md](gaps.md) itemizes every shortfall;
|
||||
@@ -288,6 +288,7 @@ scored done (16 open issues).
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-15 | trivial | DeckCraft v0.19.0 version preparation; the SmartArt and WordArt display names become Diagram and Decorative Text in DeckCraft's own labels (#1981; the PowerPoint-matching empty-placeholder prompt still reads "Click icon to add SmartArt graphic"); wasm32 build fix (#1954); control-protocol method reference corrected (#2132). Parity estimates unchanged, not re-measured |
|
||||
| 2026-11-02 | trivial | Reused slide content scales to the destination; picker thumbnails remain; parity estimates unchanged |
|
||||
| 2026-10-22 | trivial | Animations shortfall: preview from the selected effect (Play From) is in. Percentages unchanged |
|
||||
| 2026-10-17 | trivial | A word no longer breaks after `?`, `!`, `}` or `+` (a URL's query wraps at the edge as in PowerPoint 2016 for Windows), as it already didn't after `/` and `\`. Headline percentages unchanged |
|
||||
|
||||
Reference in New Issue
Block a user