Metadata-level security toggles need visible focus

Đang mở Phù hợp với người mới
#6,531 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
angular, typescript
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Tìm nút bật/tắt bảo mật siêu dữ liệu trong tab Metadata của trang Administer, sau đó kiểm tra cách nút này hoạt động khi nhận tiêu điểm bàn phím cùng với kiểu dáng của nút Edit. Tái hiện vấn đề bằng cách dùng phím Tab di chuyển qua một mục có bật các điều khiển bảo mật ở cấp siêu dữ liệu; hoàn tất khi nút bật/tắt nhận được tiêu điểm hiển thị trong lúc điều hướng bằng bàn phím.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
180
Fork
577
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DSpace/dspace-angular

Tất cả issue của DSpace/dspace-angular

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.