yfm-transform
yfm-transform copied to clipboard
Make cuts more accessible
Cuts final html doesn't have role and state
Looks like we need expanded state and some relevant role.
- Cut also can use
<details>
tag, need to investigate it. - Сurrent implementation cannot be used from the keyboard. See also about tabindex
Proposal: https://github.com/diplodoc-platform/transform/issues/405#issue-2263112070
Changes needed here: https://github.com/diplodoc-platform/transform/blob/master/src/transform/plugins/cut.ts and probably here: https://github.com/diplodoc-platform/transform/blob/master/src/js/cut.ts
done https://github.com/diplodoc-platform/transform/pull/476