Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accessibility feature #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Vital-Hrudau
Copy link
Collaborator

  • 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
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
Collaborator

Choose a reason for hiding this comment

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

И здесь

@dmorskoi
Copy link

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

  • не увидел вот этот пункт: - при клике на спинер, когда отрывается сам список читает так: "$текст ячейки + 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