-
Notifications
You must be signed in to change notification settings - Fork 220
♿ feat: implement accessibility improvements #446
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,11 +23,11 @@ export default function Header() { | |
| text editor ever. | ||
| </h1> | ||
| <div className="hero__description"> | ||
| Megadraft is a Rich Text editor built on top of | ||
| <header>Megadraft is a Rich Text editor built on top of | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Muito bem observado, mas está quase lá!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correto, neste caso, o mais recomendado seria |
||
| <br /> | ||
| Facebook's draft.js featuring a nice default | ||
| <br /> | ||
| base of plugins and extensibility. | ||
| base of plugins and extensibility.</header> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <html lang="pt-br"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. O default idioma aqui esta pt-br mas todo o conteúdo é em inglês |
||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <title>Megadraft - Draft.JS Rich Text Editor</title> | ||
|
|
@@ -16,7 +16,7 @@ | |
| <meta name="robots" content="all" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
|
||
| <meta property="og:url" content="https://globocom.github.io/megadraft" /> | ||
| <meta property="og:url" content="https://megadraft.io/#/" /> | ||
| <meta property="og:title" content="Megadraft - Draft.JS Rich Text Editor" /> | ||
| <meta | ||
| property="og:description" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não acho que aqui seja a melhor opção pra adicionar o header, poderia rever o uso pra uma div superior? Se atentar a indentação também nesse caso
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Necessário revisar o código do projeto, para implementação de melhorias para acessibilidade e usabilidade de acordo com as diretrizes da web semântica.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realmente, revisando esta sugestão, neste caso, o mais recomendado seria
<h2>seguindo a hierarquia de títulos, assim como para toda a estrutura utilizando<main>,<article>,<aside>,<figure>e<nav>para o menu.