Bladeren bron

Merge branch 'master' into beta

Danilo Bargen 6 jaren geleden
bovenliggende
commit
d86cc9b280

+ 12 - 0
README.md

@@ -21,6 +21,18 @@ For more information, see the [Threema Web
 Whitepaper](https://threema.ch/en/blog/posts/threema-web-whitepaper).
 
 
+## Bug Reports and Feature Requests
+
+If you find a bug in Threema Web or want to request a new feature, feel free to
+[open an issue](https://github.com/threema-ch/threema-web/issues/new) on
+GitHub. Please make sure that your bug report or feature request hasn't already
+been filed by using the search function.
+
+Express your personal opinion regarding priority by reacting with :+1: in a
+particular issue, such as [this one](https://github.com/threema-ch/threema-web/issues/58).
+We will factor this in when scheduling what to do next.
+
+
 ## Development
 
 Threema Web is written using [TypeScript](https://www.typescriptlang.org/) and

+ 1 - 1
src/directives/message.html

@@ -64,7 +64,7 @@
     </div>
     <div ng-if="ctrl.message.statusType == 'firstUnreadMessage'" class="unread-separator">
         <div class="line"></div>
-        <p class="text" translate>messenger.UNREAD_MESSAGES</p>
+        <p class="text" role="heading" aria-level="3" translate>messenger.UNREAD_MESSAGES</p>
         <div class="line"></div>
     </div>
 </article>

+ 1 - 1
src/directives/message_menu.html

@@ -18,7 +18,7 @@
         </md-menu-item>
         <md-menu-item ng-if="ctrl.access.quote">
             <md-button ng-click="ctrl.quote()">
-            <md-icon aria-label="Decline" class="material-icons md-24">format_quote</md-icon>
+            <md-icon aria-label="Quote" class="material-icons md-24">format_quote</md-icon>
             <span translate>messenger.QUOTE</span>
             </md-button>
         </md-menu-item>

+ 1 - 1
src/directives/message_quote.ts

@@ -33,7 +33,7 @@ export default [
                 this.contact = () => webClientService.contacts.get(this.quote.identity);
             }],
             template: `
-                <div class="message-quote-content" ng-style="{'border-color': ctrl.contact().color}">
+                <div class="message-quote-content" ng-style="{'border-color': ctrl.contact().color}" role="blockquote">
                     <span class="message-name" ng-style="{'color': ctrl.contact().color}"
                         ng-bind-html="ctrl.contact().displayName | escapeHtml | emojify"></span>
                     <span class="message-quote" ng-bind-html="ctrl.quote.text | escapeHtml | markify | emojify | linkify | mentionify | nlToBr"></span>

+ 1 - 1
src/partials/messenger.conversation.html

@@ -12,7 +12,7 @@
             <eee-avatar eee-receiver="ctrl.receiver"
                         eee-resolution="'low'"></eee-avatar>
         </div>
-        <div class="header-details" ng-click="ctrl.showReceiver()">
+        <div class="header-details" role="heading" aria-level="1" ng-click="ctrl.showReceiver()">
             <div class="conversation-header-details-name"
                  ng-bind-html="ctrl.receiver.displayName | escapeHtml | emojify"></div>
             <div class="conversation-header-details-detail" ng-if="ctrl.type === 'contact'">

+ 1 - 1
src/partials/messenger.html

@@ -4,6 +4,6 @@
     <section id="navigation" ui-view="navigation"></section>
 
     <!-- Conversation: messenger.conversation.html -->
-    <section id="detail" ui-view="content"></section>
+    <section id="detail" ui-view="content" role="main"></section>
 
 </div>