Skip to content

Conversation

@scottaohara
Copy link
Member

@scottaohara scottaohara commented Jun 17, 2019

Closes #188

removed element mappings for:

  • a with parent menu
  • button with parent menu
  • input type=checkbox with parent menu
  • input type=image with parent menu
  • input type=radio with parent menu
  • menuitem type=checkbox
  • menuitem type=command
  • menuitem type=radio

removed attribute mappings for:

  • checked referencing menuitem types
  • disabled referencing menuitem
  • icon for menuitem element
  • label referencing menu and menuitem elements
  • radiogroup for menuitem element
  • title for menuitem element

menu updated to map to role=list

  • add comment for info on role=menu to see ARIA

Preview | Diff

menuitem type=radio, checkbox and command have been removed as they are not in the HTML spec
Remove additional elements that “mapped” to `menuitem` as this element is not in the living standard specification.

* `a` with parent `menu`
* `button` with parent `menu`
* `input type=checkbox` with parent `menu`
* `input type=image` with parent `menu`
* `input type=radio` with parent `menu`
the `menuitem` element is not part of the Living Standard and the following attributes have been updated to remove references to `menuitem`.

* indeterminate idl referencing `menuitem`
* `checked` referencing `menuitem` types
* `disabled` referencing `menuitem`
* removed attr `icon` for `menuitem` element
* `label` referencing `menu` and `menuitem` elements
* `type` referencing `menuitem`
* removed attr `radiogroup` for `menuitem` element
* `title` for `menuitem` element
Per the HTML Living Standard, `<menu>` is a semantic alternative to `ul` to express an unordered list of commands.  There is (presently) no special mappings / specification definition for `li`s within a `menu`.
@scottaohara scottaohara changed the title Issue 188 Issue 188: Remove and update menuitems and menu mappings Jun 17, 2019
@scottaohara
Copy link
Member Author

Added "not ready for merge" label as there are some issues that need to be addressed outside of this PR before merging.

@scottaohara
Copy link
Member Author

scottaohara commented Aug 25, 2019

Adding todo item of adding a link in the comment section for menu to point to HTML's obsolete section.

@scottaohara scottaohara mentioned this pull request Sep 7, 2019
5 tasks
link to HTML obsolete section for `menu type=` and `menuitem`

update date of change for changelog
@scottaohara
Copy link
Member Author

latest push completes todo to reference/link to obsolete menuitem and menu type in HTML spec. changelog date updated. this will also close #237 which is duplicate to this PR.

@stevefaulkner stevefaulkner merged commit 733ebc6 into gh-pages Sep 11, 2019
@scottaohara scottaohara deleted the issue_188 branch September 11, 2019 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove/update menuitems and menu

2 participants