diff --git a/main.css b/main.css
index f9d318f..bd0655c 100644
--- a/main.css
+++ b/main.css
@@ -41,4 +41,14 @@ input[type=checkbox].add-to-calendar-checkbox {
.icon-google:before {
background-position: -52px 0;
+}
+.screen-readers {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ margin: -1px;
+ padding: 0;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ border: 0;
}
\ No newline at end of file
diff --git a/ouical.js b/ouical.js
old mode 100644
new mode 100755
index 3a13b64..9967fc9
--- a/ouical.js
+++ b/ouical.js
@@ -27,7 +27,7 @@
'&sprop=&sprop=name:'
].join(''));
return 'Google Calendar';
+ href + '">Google Calendar' + event.uniqueInfo + '';
},
yahoo: function(event) {
@@ -60,7 +60,7 @@
].join(''));
return 'Yahoo! Calendar';
+ href + '">Yahoo! Calendar' + event.uniqueInfo + '';
},
ics: function(event, eClass, calendarName) {
@@ -82,7 +82,7 @@
'END:VCALENDAR'].join('\n'));
return '' + calendarName + ' Calendar';
+ href + '">' + calendarName + ' Calendar' + event.uniqueInfo + '';
},
ical: function(event) {
@@ -95,6 +95,7 @@
};
var generateCalendars = function(event) {
+ event.uniqueInfo = 'for ' + event.title + ' on ' + event.start +'';
return {
google: calendarGenerators.google(event),
yahoo: calendarGenerators.yahoo(event),