This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are the only controlling the HTML, change it so that your input field has default values for accessibility. You can do this via several of the attributes. If you don't have access to the HTML... | |
You can inject javascript into your webview and change the title attribute of the <input> tags, giving them a default and static accessibilityLabel. | |
NSString *result = [self.webView stringByEvaluatingJavaScriptFromString:@"var inputs = document.getElementsByTagName('input');" | |
"for (var index = 0; index < inputs.length; index++){inputs[index].title = 'input ' + index;}" | |
]; | |
Here I give the nth <input> tag an accessibility label of "input n". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import "JSONKit.h" | |
#import "ObjectMapper.h" | |
#import "TwitterSearchResult.h" | |
#import "Result.h" | |
#import "Metadata.h" | |
int main (int argc, const char * argv[]) | |
{ |
NewerOlder