Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Content Descriptions not showing up #1060

Open
jmieleiii opened this issue Oct 31, 2013 · 1 comment
Open

Content Descriptions not showing up #1060

jmieleiii opened this issue Oct 31, 2013 · 1 comment

Comments

@jmieleiii
Copy link

I'm trying to add content descriptions to a few tabs but they aren't showing up once the application is run.

In the activity:

TabsAdapter tabsAdapter = new TabsAdapter(this, viewPager);

ActionBar.Tab test = getSupportActionBar().newTab();
test.setContentDescription("test");
test.setText("Test");
tabsAdapter.addTab(test, TestFragment.class, null);

The text changes and appears correctly, but the content description does not. Any ideas?

@JakeWharton
Copy link
Owner

When was this implemented for Android? I think it's 4.1 or later which means ABS doesn't support it because it attempts to match the behavior of 4.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants