Skip to content

Commit

Permalink
Change "confer to" to "confer upon" (#614)
Browse files Browse the repository at this point in the history
This is just a quick grammer fix.

Co-authored-by: Mason Freed <masonf@chromium.org>
  • Loading branch information
mfreed7 and mfreed7 authored Oct 5, 2022
1 parent 467d5bc commit fb2e83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion research/src/pages/popup/popup.research.explainer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ In an alternative proposal where the pop-up behavior is enabled via a special el

and that violates the [first rule of ARIA](https://www.w3.org/TR/using-aria/#firstrule), which is essentially that if there's an element that properly represents the content, use that, and don't use ARIA.

By having `popup` be a content attribute that purely confers behavior to an existing element, the above problems are nicely resolved. Semantics are provided by elements, and behaviors are confered on those elements via attributes. This situation is exactly analogous to `contenteditable` or `tabindex`, which confer specific behaviors on any element. Imagine a Web in which those two attributes were instead elements: `<contenteditable>` and `<tabindex index=0>`. In that Web, many common patterns would either be very convoluted or simply not possible.
By having `popup` be a content attribute that purely confers behavior upon an existing element, the above problems are nicely resolved. Semantics are provided by elements, and behaviors are confered on those elements via attributes. This situation is exactly analogous to `contenteditable` or `tabindex`, which confer specific behaviors on any element. Imagine a Web in which those two attributes were instead elements: `<contenteditable>` and `<tabindex index=0>`. In that Web, many common patterns would either be very convoluted or simply not possible.

## Design decisions (via [OpenUI](https://open-ui.org/))

Expand Down

0 comments on commit fb2e83b

Please sign in to comment.