Skip to content

🎨 Palette: Добавлена семантика и доступность для аккордеона в InterpretationCard - #46

Closed
mx57 wants to merge 1 commit into
mainfrom
palette/interpretation-card-a11y-18302767519848808678
Closed

mx57 wants to merge 1 commit into
mainfrom
palette/interpretation-card-a11y-18302767519848808678

Conversation

@mx57

@mx57 mx57 commented Sep 16, 2026

Copy link
Copy Markdown
Owner

💡 Что сделано

Добавлена поддержка доступности (Accessibility) для аккордеона «Инструкция: нанесение и активация» в компоненте InterpretationCard:

  • Добавлен Modifier.semantics с role = Role.Button для кликабельной строки аккордеона.
  • Добавлено свойства stateDescription ("Развёрнуто" / "Свёрнуто"), что позволяет скринридерам (TalkBack) корректно озвучивать текущее состояние и роль интерактивного элемента.
  • Написан Compose UI unit-тест InterpretationCardTest.kt для проверки отображения и взаимодействия.

🎯 Зачем это нужно

Пользователям программ экрана (TalkBack) ранее было не очевидно, что строка с текстом инструкции является кнопкой-аккордеоном и в каком состоянии (развёрнута/свёрнута) она находится.

♿ Accessibility

  • Добавлены семантическая роль Role.Button и динамический stateDescription.

PR created automatically by Jules for task 18302767519848808678 started by @mx57

…Card

Adds stateDescription and Role.Button semantics to the expandable ritual section in InterpretationCard for screen reader accessibility.
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@mx57

mx57 commented Sep 26, 2026

Copy link
Copy Markdown
Owner Author

Closing as a duplicate of the accessibility work merged via #57. #57 covers the same InterpretationCard semantics and additionally covers EncyclopediaScreen and DivinationHistoryView, with its own test file - so the single-component version here would be redundant.Aegis already had several of these features on main, and many of these PRs were parallel attempts at the same work. The merged result is now on main (merge commit fada105).

@mx57 mx57 closed this Sep 26, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as a duplicate of the accessibility work merged via #57. #57 covers the same InterpretationCard semantics and additionally covers EncyclopediaScreen and DivinationHistoryView, with its own test file - so the single-component version here would be redundant.Aegis already had several of these features on main, and many of these PRs were parallel attempts at the same work. The merged result is now on main (merge commit fada105).

Понятно. Подтверждаю, что эта работа устарела и закрыта как дубликат, останавливаю работу над этой задачей.

@mx57
mx57 deleted the palette/interpretation-card-a11y-18302767519848808678 branch September 29, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant