Skip to content

clarify documentation for the ariaLabel channel #797

Closed
@kentr

Description

@kentr

Since the README says "All marks support the following optional channels:", I'm assuming that ariaLabel is supposed to work forrect marks.

However, IME adding ariaLabel causes the marks to not render at all. There aren't even <rect> elements in the source anymore that I can see.

I've added an explicit z channel as recommended in the README.

ariaDescription works as expected.

There are no errors in the dev console.

Is this a bug, or am I doing something incorrectly?

To repeat

  1. Create a rect plot and confirm that the marks plot as expected.
  2. Add ariaLabel as an option. The marks disappear.

Example: https://observablehq.com/@kentr/rect-mark-observable-plot

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions