GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Change the `_aria` prop from being an Object to inline props · Issue #46 · purescript-react/purescript-react-basic-dom

Change the _aria prop from being an Object to inline props #46

New issue
Copy link
New issue
Copy link
Open
Open
Change the _aria prop from being an Object to inline props#46
Copy link

Description

@i-am-the-slime
i-am-the-slime
opened on Jul 9, 2022
Issue body actions

I think I had mentioned this in the past and if memory serves well @megamaddu concurred:

aria attributes are being handled like data attributes. That is, one can supply an Object String as _aria to most (all?) basic components and they will be correctly injected.
But contrary to data- attributes, the set of valid aria- attributes is well-defined and not free for the author to choose.

As a reference: Here's the list:

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes

Activity

  1. mjrussell commented on Jul 12, 2022

    @mjrussell
    mjrussell
    on Jul 12, 2022
    Member
    More actions

    Sounds like a good improvement. I was wondering if any other purescript libraries had done this already or if there might be a small JS library that we could import all the names from. I don't see one unfortunately though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.