Metadata-level security toggles need visible focus

オープン 初心者向け
#6,531 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
angular, typescript

調査の方向性

AdministerページのMetadataタブにあるメタデータセキュリティの切り替えスイッチを見つけ、Editボタンのスタイルと合わせて、そのキーボードフォーカス時の動作を調べます。メタデータレベルのセキュリティ制御が有効な項目をTabキーで移動して問題を再現します。キーボードで移動したときに切り替えスイッチに視認できるフォーカスが当たれば完了です。

索引モデルが issue の本文から書いたものです。

説明

accessibility affects: 10.x affects: main bug ux

Describe the bug

Metadata-level security toggles need visible focus so that they can be fully operable via keyboard.

To Reproduce

  1. Enable Metadata-level security controls (See documentation) for some test field.
  2. Go to the Administer page, Metadata tab of an item with metadata-level security controls enabled. For example on demo site, https://demo.dspace.org/entities/person/5d0098fc-344a-4067-a57d-457092b72e82/edit/metadata
  3. Try to navigate the page via the "Tab" key; you'll see focus go to all the various Edit buttons but skip over the toggle element next to person.birthDate (in the demo site example from step 2)
  4. You can actually click space to activate the toggle, but the element has no focus styling so you can't see that it gets focus

Expected behavior

The toggle component should have focus styling just like the other buttons on the metadata administration page.

See an example of focus styling on the Edit button:

Screenshot 2026-11-12 at 2 03 46 PM

Related

This element was introduced with the first half of DSpace-CRIS features via https://github.com/DSpace/dspace-angular/pull/5145.

主要言語
TypeScript
スター
180
フォーク
577
平均マージ
2日 1時間
マージ済み PR(30日)
100

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DSpace/dspace-angular のほかの issue

DSpace/dspace-angular の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。