Skip to content

Add accessibility feature#15

Open
Vital-Hrudau wants to merge 1 commit intomasterfrom
feature/accessibility
Open

Add accessibility feature#15
Vital-Hrudau wants to merge 1 commit intomasterfrom
feature/accessibility

Conversation

@Vital-Hrudau
Copy link
Copy Markdown
Contributor

  • add accessibility pronouncing to hint view and arrow button
  • refactor accessibility pronouncing to popup list

View view = getConvertView(getItem(position), convertView, parent, R.id.title);
view.setContentDescription(getContentDescriptionForAdapterItem(
((TextView) view).getText().toString(),
items.size() - 1, position)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Перенеси position на новую строку

View view = super.getDropDownView(position, convertView, parent);
view.setContentDescription(getContentDescriptionForAdapterItem(
((TextView) view).getText().toString(),
items.size() - 1, position)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И здесь

@dmorskoi
Copy link
Copy Markdown

Общие комменты:

  • не увидел вот этот пункт: - при клике на спинер, когда отрывается сам список читает так: "$текст ячейки + list of 3 items + double click to activate". Давй сделаем так, чтобы это читалось при фокусировке на спиннер, т.к. при открытии списка там уже автоматом выбирается первый элемент и озвучка должна быть другая.
  • когда выбираешь элемент из списка, то два раза читается "название айтема + hinted spinner". TalkBack проглючивает здесь очень сильно
  • и давай все таки добавим озвучку "n of 3 items" когда вокусируешься на элементы списка. В L проекте озвучка для списков вроде так и реализована: когда кликаешь по item, то говорит "название айтема + 1 из 5 айтемов"
  • посмотри возможно ли сделать так чтобы иконка (стрелка спиннера справа) и текст спиннера были одним целым для озвучки. Сейчас спинннер и кнопка (иконка) - 2 разных объекта для Talkback

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.

4 participants