graphics-3d: accessible DOM mirror for 3D objects
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- three.js, typescript
- Lĩnh vực
- accessibility, frontend
Hướng nghiên cứu
Start with docs/docs/lib-graphic-3d/index.mdx and inspect the graphics-3d package’s tick, ctx.graphics.worldToScreen, and __clear entry points. Check how components-systems defines ECS components before deciding where the API belongs. Done means an opt-in DOM mirror supports positioning, keyboard focus and activation, and cleanup, with tests and documentation covering those behaviors.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which package or utils is this feature request for?
graphics-3d
Feature
Three.js draws everything into a canvas. Screen readers and keyboard navigation (Tab, Enter) cannot reach the objects of a 3D scene, so a game made with @nanoforge-dev/graphics-3d is not accessible to blind or keyboard-only players (benchmark criterion E2, scored ❌ for Three.js).
Ideal solution or implementation
An opt-in way to mirror a 3D object as a hidden DOM element:
- data: a label, an ARIA role (
button,img…), and whether it is focusable; - each tick, the element is positioned over the object with
ctx.graphics.worldToScreen, inside the game container (incontainer.ownerDocument, so pop-out keeps working); - focus and Enter/Space are forwarded to game code (a callback or an event);
- the element is hidden visually but not from assistive tech, and removed on
__clear.
If the API is an ECS component (e.g. Accessible3D(label, role, focusable)), it belongs in components-systems, and the library only provides the positioning helper.
Small, documented, and tested (positioning, focus, cleanup).
Alternative solutions or implementations
Babylon's @babylonjs/accessibility does the same thing with a DOM tree mirrored from the scene. We could port the idea instead of the code.
Other context
Deferred from the first version of graphics-3d. See docs/docs/lib-graphic-3d/index.mdx (E2).
- Ngôn ngữ chính
- TypeScript
- Star
- 7
- Fork
- 2
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NanoForge-dev/Engine
-
dependencies enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NanoForge-dev/Engine#513 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug chore tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
NanoForge-dev/Engine#511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(network): TSDoc says ICE_SERVERS defaults to an empty list, the code uses public STUN serversĐang mởdocumentation good first issue modules:network
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
NanoForge-dev/Engine#509 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation modules:ecs packages:asset packages:core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NanoForge-dev/Engine#508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue modules:music modules:sound
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NanoForge-dev/Engine#505 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NanoForge-dev/Engine
Issue tương tự
-
Mend: dependency security vulnerability
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
fdm-monster/fdm-monster#5563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
growilabs/growi#12246 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SSWConsulting/SSW.Rules#2809 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày