flutter_html
flutter_html copied to clipboard
Accessibility compatible
The plugin Accessibility is not compatible
What's not accessible about the master branch? Screen reading works. Or is this regarding the new-parser branch, and if so, on what points?
example set showSemanticsDebugger is true.
Link button will twinkle
talkback can't read, just like:
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Demo',
showSemanticsDebugger: true,
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home: new MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
We can and should definitely improve a11y support. I will leave this open.
Just in case it helps, I've had to add this in customRender for links to be announced:
customRender: {
"a": (RenderContext context, Widget child, Map<String, String> attributes, _) {
return Semantics(
button: true,
child: InkWell(
onTap: () {
launch(attributes['href']);
},
child: child,
),
);
},
}
Can I ask why this was closed? We dont seem to have a proper resolution here