Skip to content
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

[List] Make List & ListItem semantic #7444

Merged
merged 1 commit into from
Jul 18, 2017
Merged

[List] Make List & ListItem semantic #7444

merged 1 commit into from
Jul 18, 2017

Conversation

akshaynaik404
Copy link
Contributor

@akshaynaik404 akshaynaik404 commented Jul 16, 2017

In List.js change default prop 'component' to 'ul' and make corresponding
changes to List.spec.js and in ListItem.js change default prop 'component'
to 'li'.

Now by default List should be a 'ul' and ListItem should be an 'li'.

Also changed affected integration test in MenuList.spec.js.

Please note that I am new to this repo. If I have made any silly mistakes or I should do something differently, DO TELL.

Closes #1168.

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@oliviertassinari oliviertassinari added accessibility a11y component: list This is the name of the generic UI component, not the React module! v1 labels Jul 16, 2017
@oliviertassinari oliviertassinari changed the title [List & ListItem] Make List & ListItem semantic, Fix #1168 [List] Make List & ListItem semantic Jul 16, 2017
In List.js change default prop 'component' to 'ul' and make corresponding
changes to List.spec.js and in ListItem.js change default prop 'component'
to 'li'.

Now by default List should be a 'ul' and ListItem should be an 'li'.

Also changed affected integration test in MenuList.spec.js.
@oliviertassinari
Copy link
Member

oliviertassinari commented Jul 18, 2017

@akshaynaik404 Sorry for the delay, I have fixed the CI.

@oliviertassinari
Copy link
Member

Alright, no visual regressions, let's merge :).

@oliviertassinari oliviertassinari merged commit 0f79bfe into mui:v1-alpha Jul 18, 2017
@oliviertassinari
Copy link
Member

Thanks for this second contribution 🏇 !

@oliviertassinari
Copy link
Member

3 years later, it's close 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y component: list This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants