talkback | A simple HTTP proxy that records and playbacks requests | Proxy library
kandi X-RAY | talkback Summary
kandi X-RAY | talkback Summary
Talkback is a javascript HTTP proxy that records and playbacks HTTP requests. As long as you have node.js in your environment, you can run talkback to record requests from applications written in any language/framework. You can use it to accelerate your integration tests or run your application against a mocked server.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of talkback
talkback Key Features
talkback Examples and Code Snippets
Community Discussions
Trending Discussions on talkback
QUESTION
i have a persistent bottomsheet like bottom_sheet_persistent.xml
ANSWER
Answered 2022-Mar-10 at 22:58The bottom sheet layout's parent view will be like this
QUESTION
I am trying to optimize a few components for screen readers, however Android Talkback proves to be a challenge....
Here is a very simplified example for the code:
...ANSWER
Answered 2022-Mar-01 at 19:42The role
attribute only changes the type of element that Talkback and other screen readers announce. Setting it to presentation
or none
just removes the semantic type of element. A does not have a native role by default so it's essentially presentation/none implicitly and won't have any effect.
aria-hidden
is the key. It will hide the element from the screen reader. (CSS display:none
and visibility:hidden
will also hide an element from the screen reader but it also makes the element invisible to sighted users too.)
Your code example should work just fine with Talkback. However, you mentioned that you dynamically change the contents of the . That's not a problem but is there a chance that when you updated the text, the
aria-hidden
got removed?
I have used aria-hidden
on Android without any trouble.
QUESTION
It seems that when using android talkback, it's not saying the date correctly when there are 2 dates in a range in format of dd/mm/yyyy - dd/mm/yyyy
If I had a simple date such as 01/06/2017, it would say it correctly as "First of June, Twenty Seventeen'. However if I had a date range such as 01/06/2017 - 01/06/2018, it would say it as "January Sixth Twenty-Seventeen to January Sixth Twenty-Eighteen", any ideas why?
I have my language set as en-AU
.
This is the HTML structure:
01/06/2017 - 01/06/2018
However, if I put both dates in elements, then it reads each date correctly, but separately, e.g.
01/06/2017 - 01/06/2018
, i.e. 01/06/2017 - 01/06/2018
won't work.
...ANSWER
Answered 2022-Feb-22 at 07:42Date ranges are always a tricky thing as there isn't a better way than the one you are using (
01/06/2017 - 01/06/2018
However there is a way you can force it to say "to", with a quick caveat: If you use this method then if someone uses auto translate or you internationalise the site at some point it may result in poor translations / a lot of work converting the "to" to other languages.
With that disclaimer out of the way, the trick is to use the actual word "to":
01/06/2017 to 01/06/2018
But I know what you are thinking, I don't want the word "to" to be visible, I want to use a dash visually.
So now we introduce visually hidden text
and aria-hidden
to display one thing but read out another:
QUESTION
I have a composable function that displays some text. The talkback is working great as it reads the text. but how can I disable the clickable notification in accessibility for that composable so that I can have a secret click listener to send analytics.
any time I try to add a clickable like this
...ANSWER
Answered 2022-Feb-08 at 16:13As described in the accessibility doc you can use the semantics
properties.
Use the invisibleToUser
property to mark an element to be invisible to the user.
QUESTION
I was following the breadcrumb example of Bootstrap 5.
...ANSWER
Answered 2021-Dec-02 at 10:38The first example is still accessible even though aria-current
is not announced.
Both examples you have given can be used in production and will be perfectly accessible.
Longer AnswerWhile according to the spec you should be able to use aria-current
on a none interactive item, in reality most screen readers / browser combinations will not support it on an item you can't interact with.
Your second example is the "correct" usage, adding it to a hyperlink!
Both of the patterns you provide will be accessible without any issues. The aria-current
not being announced in the first example is not a problem as the pattern is well known an indicates that "data" is the current page (as it is not a link).
With that being said, you can provide the extra information to screen reader users just for completeness!
We can add "(current page)" in a . We can then visually hide that span with CSS so that it is still read by a screen reader but does not change the visual design using a visually hidden CSS class.
I recommend replacing the Bootstrap .sr-only
class with the one in the fiddle below just because it is more robust.
QUESTION
as I wrote in the title, the Android Talkback actually reads the hint text of my search bars, but I need to change that behavior to read a custom string (different from the hint). I tried to set the contentDescription but it didn't work (the talkback still reads the hint text).
Do you have any advice?
...ANSWER
Answered 2021-Nov-10 at 22:10You can set an AccessibilityDelegate
on a view to override things like how it describes itself in general:
QUESTION
This is my first time tackling accessibility. I am using talkback on my phone to test accessibility of items. The issue I have is that if I have content in an anchor, it reads the entire thing once and then when you swipe it reads the individual text inside the anchor. Here's the code I have:
...ANSWER
Answered 2021-Oct-05 at 08:51I've tried the following using Chrome on a Samsung Galaxy S10 with TalkBack (Android 11):
QUESTION
I am just trying to learn some client-server basics and I'm almost there with what I'm trying to do. I am just sending the server some input and having it respond back to the client with the data it received. However, it works fine once I send the first piece of data but once I send another input the server responds with two instances of that same piece of data, and so on. How do I get around this?
Server:
...ANSWER
Answered 2021-Sep-17 at 22:16You keep adding more and more client.on('data', ...)
handlers. Each time you call waitForUserInput()
, you end up adding another duplicate handler for the data
message. So, after calling waitForUserInput()
twice, you have two identical handlers for the data
message so when a new piece of data arrives, each of the two handlers gets called and the output in your console appears twice. One one piece of data arrives, but you have duplicate handlers that are listening for it.
You can either use .once()
instead of .one()
or you can move the handler listening for the incoming data outside of the function so it's just installed once and only once.
Incidentally, using setInterval()
here is also a problem for several reasons. You're creating a new interval timer every time you call waitForUserInput()
and there's no coordination between that and when the question is actually answered.
QUESTION
How can I change the default Text content description to be read on TalkBack on Jetpack Compose to any text that I want ?
...ANSWER
Answered 2021-Aug-12 at 18:00As described in the accessibility documentation you can use the semantics
modifier.
You can use the contentDescription
semantic property to set a custom content description:
QUESTION
I'm trying to figure out how to make talkback/voice-over announce legend when the focus is on an input element. Jaws read the legend. Only issue is with talkback/voice-over. I'm aware that when focus is shifted, the screen reader reads the element which under focus. If that is the case, then not sure how Jaws is picking up on Desktop. I tried aria-labelledby
but I'll have to add in many places and also it considers the area as region
which is not intended.
ANSWER
Answered 2021-Jul-28 at 18:07If your code is semantically correct, then you shouldn't have to do anything. Let the individual screen readers handle it as they see fit. In your simple code example, with VoiceOver on iOS (I don't have a Mac to try it on), when I swipe right, my VO focus goes to the "Billing Address" border and it's announced as "Billing Address, Form start". I won't hear the if I swipe to any of the input fields.
With NVDA, if I arrow down through the DOM, similar to swiping right with VoiceOver, I hear "grouping, Billing Address". If I tab to the input field instead of arrowing down, thus skipping the text, the text is still announced before the first field is announced, "Billing Address, grouping, Street edit has auto complete blank".
So it seems to be working correctly. If talkback doesn't announce it correctly, then it's a bug with talkback.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install talkback
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page