Skip to content

Commit

Permalink
UI: example should have a space after the icon
Browse files Browse the repository at this point in the history
See civicrm/civicrm-core#18005 for work
to standardize this, but it's already common practice.
  • Loading branch information
agh1 committed Jul 30, 2020
1 parent 8e8fb84 commit 0f367ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ For example, to insert a [bullhorn icon](http://fortawesome.github.io/Font-Aweso
use the following:

```html
<div><i class="crm-i fa-bullhorn" aria-hidden="true"></i>Create new announcement</div>
<div><i class="crm-i fa-bullhorn" aria-hidden="true"></i> Create new announcement</div>
```

See the [Screen reader text](#screen-reader-text) section below for including text necessary to convey information that icons otherwise indicate visually. Not all icons need screen reader text, but an icon on its own might be visually efficient but require verbal explanation for visually-impaired users.
Expand Down

0 comments on commit 0f367ba

Please sign in to comment.