question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[A11y] Add label for ProfileListActivity

See original GitHub issue

Task

Introduce label for ProfileListActivity as Profile List.

Reference PR: https://github.com/oppia/oppia-android/pull/2750

When you create a PR for this, make sure you add test to check the functionality. Also, suggest working on this PR only if its your first or second PR to Oppia-Android project.

General Explanation

When Talkback is on, whenever we click on any option which leads to new screen the reader will automatically read the label associated with that screen first. If in case label in not present then it will read app name i.e. Oppia.

Example

https://user-images.githubusercontent.com/9396084/108906068-78b75080-7646-11eb-943e-212e29fc3e98.mp4

In this above video as soon as we double-tap Battery, new screen is opened. The reader first outputs Battery followed by Navigate up, Button and finally Battery again. In this the first Battery output is the label of this new screen which indicates the learner which screen is opened. The second Battery is because we selected the title in the screen and it’s just reading that text. So we need labels for various screens general which matches the title but if the title is dynamic then we need static label.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rt4914commented, Mar 22, 2021

Can I work on this issue? @prayutsu I might need some help in testing as I am fairly new to contributing.

@Karanjot-singh This issue is already assigned to @AnubhavPabby

1reaction
prayutsucommented, Mar 13, 2021

@arjunrkaushik As @AnubhavPabby claimed it first, we should assign this issue to him, but I am assigning you #2819 which is almost similar to this. Can you please add a comment there so can I assign that issue to you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Labeling Controls | Web Accessibility Initiative (WAI) - W3C
Provide labels to identify all form controls, including text fields, checkboxes, radio buttons, and drop-down menus. In most cases, this is done by...
Read more >
aria-label - Accessibility - MDN Web Docs
The aria-label attribute defines a string value that labels an interactive element.
Read more >
An Introduction to Accessible Labeling | a11y with Lindsey
If a designer gives you a mock and there is absolutely no way to tell them to add a label to the design,...
Read more >
aria-label - examples and best practices - Aditus
By default, an HTML element will use its text content as the accessibility label. If an element has aria-label , the accessible name...
Read more >
Provide list labels when appropriate
The Functional Accessibility Evaluator (FAE) evaluates a website or a single web ... Use the aria-labelledby attribute to add a label to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found