yfm-transform icon indicating copy to clipboard operation
yfm-transform copied to clipboard

Make cuts more accessible

Open 3y3 opened this issue 11 months ago • 1 comments

Cuts final html doesn't have role and state

Looks like we need expanded state and some relevant role.

3y3 avatar Mar 06 '24 03:03 3y3

  • Cut also can use <details> tag, need to investigate it.
  • Сurrent implementation cannot be used from the keyboard. See also about tabindex

martyanovandrey avatar Apr 24 '24 09:04 martyanovandrey

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

martyanovandrey avatar Jul 12 '24 13:07 martyanovandrey

done https://github.com/diplodoc-platform/transform/pull/476

martyanovandrey avatar Aug 05 '24 09:08 martyanovandrey