alrichardbollans commited on
Commit
3a7d7c6
·
1 Parent(s): 5b8db50

Improve html attributes for accessibility

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -263,27 +263,27 @@ def plot_server(input, output, session, r):
263
  def server(input, output, session: Session):
264
  @render.image
265
  def rbg_kew():
266
- img = {"src": "assets/rbg_kew.jpg"}
267
  return img
268
 
269
  @render.image
270
  def bloomberg():
271
- img = {"src": "assets/bloomberg_philanthropies.jpg"}
272
  return img
273
 
274
  @render.image
275
  def brin():
276
- img = {"src": "assets/brin.jpg"}
277
  return img
278
 
279
  @render.image
280
  def abg():
281
- img = {"src": "assets/abg.png"}
282
  return img
283
 
284
  @render.image
285
  def logo_image():
286
- img = {"src": "assets/logo3.png", "height": "100px", "width": "138px", 'alt': 'OrchAId'}
287
  return img
288
 
289
  analysis_results = reactive.Value([])
 
263
  def server(input, output, session: Session):
264
  @render.image
265
  def rbg_kew():
266
+ img = {"src": "assets/rbg_kew.jpg", 'aria-label':'Royal Botanic Gardens, Kew logo'}
267
  return img
268
 
269
  @render.image
270
  def bloomberg():
271
+ img = {"src": "assets/bloomberg_philanthropies.jpg", 'aria-label':'Bloomberg Philanthropies logo'}
272
  return img
273
 
274
  @render.image
275
  def brin():
276
+ img = {"src": "assets/brin.jpg", 'aria-label':'Badan Riset Dan Inovasi Nasional logo'}
277
  return img
278
 
279
  @render.image
280
  def abg():
281
+ img = {"src": "assets/abg.png", 'aria-label':'Atlantic Botanical Garden logo'}
282
  return img
283
 
284
  @render.image
285
  def logo_image():
286
+ img = {"src": "assets/logo3.png", "height": "100px", "width": "138px", 'alt': 'OrchAId', 'aria-label':'OrchAId logo'}
287
  return img
288
 
289
  analysis_results = reactive.Value([])