flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

Accessibility compatible

Open wangbo4020 opened this issue 4 years ago • 5 comments

The plugin Accessibility is not compatible

wangbo4020 avatar Apr 23 '20 12:04 wangbo4020

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?

drewbitt avatar Apr 24 '20 00:04 drewbitt

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'),
    );
  }
}

wangbo4020 avatar Apr 24 '20 04:04 wangbo4020

We can and should definitely improve a11y support. I will leave this open.

erickok avatar Feb 08 '21 15:02 erickok

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,
              ),
            );
          },
        }

cmoralesweb avatar Mar 09 '21 16:03 cmoralesweb

Can I ask why this was closed? We dont seem to have a proper resolution here

daniel-forsdike avatar Sep 12 '22 14:09 daniel-forsdike