-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
put roles in some elements of sugarCube. #232
Comments
@metalalchemist eg. If the following was placed in a Passage...
...the following HTML elements would be generated...
Do you know what Reader software is being used on your iPhone? Do you know what version of SugarCube was used to build the Story HTML file you are playing? |
i am using voice over and i am using sugarcube 2.36.1.
|
i forget for compile i am using tweego 2.1.1 |
As noted by @greyelf, links (anchors and buttons) already have a I'm going to need a bit more context from you. Can you provide an example of how you're creating the links that you're having issues with. Also, preferably, including the generated markup. EDIT: Are you using any 3rd-party libraries that could be interfering with SugarCube's normal operation? |
link macro i thing that have role button cause i recognise in all screen readers like a button. |
Is your feature request related to a problem?
hello when i am playing my game in ifone, the device don't recognice links with voice ovber. i am a blind person.
Describe the solution you'd like.
put some roles in elements linke links and buttons like.
$(document).on(":passagerender", function (event) {
var clinks = $(event.content).find(".link-internal");
if (clinks.length) {
clinks.attr( "role", "link");
}
var clinks = $(event.content).find('.macro-button');
if (clinks.length) {
clinks.attr( "role", "button");
}
});
sorry my english is so bad and i don't understand so mutch js.
The text was updated successfully, but these errors were encountered: